To style the Application Menu Button of the RadRibbonBar you have to create the style for the RadRibbonBar itself. To see how to do this take a look at this topic.
Modifying some of the resources generated for the RadRibbonBar's style will allow you to change the appearance of the Application Menu Button. Here is the list of resources that are used for it.
- ApplicationMenuButtonBackground - a brush that represents the background of the Application Menu Button.
- ApplicationMenuButtonBorder - a brush that represents the color of the Application Menu Button's border.
- ApplicationMenuButtonInnerBackground - a brush that represents the inner background of the Application Menu Button.
- ApplicationMenuButtonInnerBorder - a brush that represents the color of the Application Menu Button's inner border.
- ApplicationMenuButtonMiddelBackground - a brush that represents the middle background of the Application Menu Button.
- ApplicationMenuOverButtonBackground - a brush that represents the background of the Application Menu Button, when the mouse is over it.
- ApplicationMenuOverButtonBorder - a brush that represents the color of the Application Menu Button's border, when the mouse is over it.
- ApplicationMenuOverButtonInnerBackground - a brush that represents the inner background of the Application Menu Button, when the mouse is over it.
- ApplicationMenuOverButtonInnerBorder - a brush that represents the color of the Application Menu Button's inner border, when the mouse is over it.
- ApplicationMenuOverButtonMiddelBackground - a brush that represents the middle background of the Application Menu Button, when the mouse is over it.
- ApplicationMenuPressedButtonBackground - a brush that represents the background of the Application Menu Button, when it gets pressed.
- ApplicationMenuPressedButtonBorder - a brush that represents the color of the Application Menu Button's border, when it gets pressed.
- ApplicationMenuPressedButtonInnerBackground - a brush that represents the inner background of the Application Menu Button, when it gets pressed.
- ApplicationMenuPressedButtonInnerBorder - a brush that represents the color of the Application Menu Button's inner border, when it gets pressed.
- ApplicationMenuPressedButtonMiddelBackground - a brush that represents the middle background of the Application Menu Button, when it gets pressed.
Tip |
|---|
| Changing the value of the resources can be done by clicking on the color indicator or the icon next to them. |
Modify the resource to bring the desired appearance to the Application Menu Button. For more detailed information, please, view the Example section below.
Example
Here is an example of the above resource modified.
Here is a snapshot of the result, when the button is in its normal state:
when the mouse is over it:
and when the button is pressed.
See Also