HamburgerSubMenu.MoreButtonVisibilityMode Property
Gets or sets whether the More predefined button, which invokes a fly-out panel containing all sub-menu items, is displayed below the sub-menu items shown in preview.
Namespace: DevExpress.Xpf.WindowsUI
Assembly: DevExpress.Xpf.Controls.v24.1.dll
NuGet Package: DevExpress.Wpf.Controls
Declaration
Property Value
Type | Description |
---|---|
HamburgerSubMenuMoreButtonVisibility | A HamburgerSubMenuMoreButtonVisibility enumeration value that specifies whether the More predefined button is displayed. The default is Auto. |
Available values:
Name | Description |
---|---|
Auto | The More predefined button is automatically displayed if not all items are shown in the preview. |
Hidden | The More predefined button is hidden. |
Visible | The More predefined button is visible. |
Remarks
The HamburgerSubMenu.Items property specifies the collection of sub-menu items. When an end-user clicks on a sub-menu, a flyout panel containing sub-menu items appears. However, a particular sub-menu item can also be displayed directly in the main menu below the sub-menu button. To enable this behavior for a particular item, set its HamburgerSubMenuNavigationButton.ShowInPreview property to true.
By default, the MoreButtonVisibilityMode property is set to Auto. In this mode, the More predefined button is automatically displayed if not all items are shown in the preview. With a click on this button, a sub-menu flyout panel that contain all sub-menu items opens.
Set this property to Hidden or Visible to explicitly specify the More button’s visibility.