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

Use different disabled items

1 Answer 115 Views
Menu
This is a migrated thread and some comments may be shown as answers.
anthony
Top achievements
Rank 1
anthony asked on 23 Nov 2006, 03:22 PM
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?

Greetings,
Anthony

1 Answer, 1 is accepted

Sort by
0
Chris
Telerik team
answered on 23 Nov 2006, 04:22 PM
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,
Chris
the telerik team
Tags
Menu
Asked by
anthony
Top achievements
Rank 1
Answers by
Chris
Telerik team
Share this question
or