windowsforms-8313-controls-and-libraries-ribbon-bars-and-menu-ribbon-visual-elements-application-button.md
End-users can use the Application button in the Ribbon Control’s top left corner to access an application’s main menu. The Ribbon style (see the RibbonControl.RibbonStyle property) determines the button’s appearance and behavior. You can test all available styles in the “Ribbon Simple Pad” demo module available in the DevExpress Demo Center.
The table below lists the properties and events related to the Application Button.
|
API
|
Description
| | --- | --- | |
RibbonControl.ApplicationButtonDropDownControl
|
Gets or sets the drop-down control which is invoked when the Application Button is clicked.
This property accepts the following class instances as a value:
| |
RibbonControl.ShowApplicationButton
|
Gets or sets whether the Application Button is visible.
| |
RibbonControl.ApplicationButtonImageOptions
|
Provides access to options that allow you to specify and customize the Application Button‘s raster or vector icon.
SvgImageSize setting to resize a vector icon. The preferred icon size is 16x16.| |
RibbonControl.ApplicationButtonText
|
Gets or sets the Application Button‘s text.
| |
RibbonControl.ApplicationButtonClick
|
Occurs when the Application Button is clicked.
| |
ShowApplicationButtonContentControl
HideApplicationButtonContentControl
|
Use these methods to display or hide the main application menu.
| |
RibbonControl.BeforeApplicationButtonContentControlShow
RibbonControl.AfterApplicationButtonContentControlHidden
|
These events allow you to perform custom actions before/after a main application menu opens/closes.
| |
|
Applies a color to the Application Button and other Ribbon elements.
| |
Button appearance (no API)
|
Ribbon uses Skin images and settings to paint an Application Button, there is no API to modify the button appearance. Run the Skin Editor and create a Skin with custom ApplicationButton2010 skin element settings.
|