Context Menu Backcolor for each item

1 Answer 12 Views
ContextMenu
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Martin Hamilton asked on 01 Apr 2024, 05:42 PM

Is there a way to give each ContextMenu Item its own backcolor?

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 02 Apr 2024, 10:49 AM

Hello Martin,

You can change the color of the RadMenuItems by changing the BackColor property of the FillPrimitive object inside the item.

 this.radMenuItem1.FillPrimitive.BackColor = System.Drawing.Color.Red;

Here is the result:

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ContextMenu
Asked by
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or