This is a migrated thread and some comments may be shown as answers.

how to change left side width and color for context menu?

1 Answer 411 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
jerome
Top achievements
Rank 1
jerome asked on 13 Jun 2011, 08:08 AM
how to change left side width and color for context menu?  and select row style?

could you paste default style for the control?

thanks

jeorme

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 14 Jun 2011, 08:58 AM
Hi Jerome,

Please, find attached a sample that will help you get started with the RadContextMenu customization.  Search for the word "NOTE" to view some explanational notes.

In order to change the width of the column reserved for the icons , you should use the IconColumnWidth property of RadContextMenu. If you want to change the background, you will need to edit the relevant template and inside find the Grid that represents the icon column. Or simply change the MenuPopupIconsBackground brush.

On the other hand , if you want to make cusotmizations on the RadMenuItems in terms of colors and sizes, you need to keep in mind that there are four types of templates for RadMenuItem - ToplLevelItem, TopLevelHeaderItem, SubMenuItem, SubMenuHeaderitem. For more details, please check here and here.

I hope this helps.

Kind regards,
Dani
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ContextMenu
Asked by
jerome
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or