Use different disabled items

2 posts, 0 answers
  1. anthony
    anthony avatar
    2 posts
    Member since:
    Oct 2006

    Posted 23 Nov 2006 Link to this post

    When I set the Enabled property of the Menu Items to "false" they become gray. I would like to set some different colors and font of the disabled items. How can I customize this state of the items?

  2. Chris
    Chris avatar
    221 posts

    Posted 23 Nov 2006 Link to this post

    Hi Anthony,
    You can modify each control's theme (not only the Menu theme) and set the UseDefaultDisabledPaint property of the respective item (e.g. RadMenuItem) to false. Then you can create a new state especially for the disabled state of the menu item (in Visual Style Builder the state should appear in the "State TabStrip" as "!Enabled"). This way the menu item will appear just as you have customized it for the "!Enabled" state when it's disabled.
    I hope this information helps.

    All the best,
    the telerik team
  3. DevCraft banner
Back to Top