Back to Devexpress

HamburgerSubMenu.MoreButtonVisibilityMode Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgersubmenu-98fee221.md

latest2.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public HamburgerSubMenuMoreButtonVisibility MoreButtonVisibilityMode { get; set; }
vb
Public Property MoreButtonVisibilityMode As HamburgerSubMenuMoreButtonVisibility

Property Value

TypeDescription
HamburgerSubMenuMoreButtonVisibility

A HamburgerSubMenuMoreButtonVisibility enumeration value that specifies whether the More predefined button is displayed. The default is Auto.

|

Available values:

NameDescription
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.

See Also

HamburgerSubMenu Class

HamburgerSubMenu Members

DevExpress.Xpf.WindowsUI Namespace