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

2 posts, 0 answers
  1. jerome
    jerome avatar
    19 posts
    Member since:
    Nov 2010

    Posted 13 Jun 2011 Link to this post

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

    could you paste default style for the control?


  2. Dani
    Dani avatar
    848 posts

    Posted 14 Jun 2011 Link to this post

    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,
    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
Back to Top