RibbonControl.ApplicationMenu Property
Gets or sets the menu or control that is invoked when clicking on the RibbonControl’s Application Button. This is a dependency property.
Namespace: DevExpress.Xpf.Ribbon
Assembly: DevExpress.Xpf.Ribbon.v24.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
DependencyObject | An object that is invoked when clicking on the RibbonControl’s Application Button. |
Remarks
By default, clicking the Application Button has no effect. You can use the ApplicationMenu property, to provide a menu or control that will be invoked on clicking this button.
The following controls can be assigned to the ApplicationMenu property:
- ApplicationMenu - Allows you to emulate the menus found in Microsoft Office 2003 and 2007 applications. These menus support three panes: left, right and bottom. See the ApplicationMenu class to learn more.
- BackstageViewControl - This control allows you to emulate the menu found in Microsoft Office 2010 applications.
- Any other control - When invoked, this control will be positioned above the main window, occupying the window in its entirety.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ApplicationMenu property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.