Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HamburgerSubMenuNavigationButton.ShowInPreview Property

Gets or sets whether the current item is also shown directly in the main menu below the sub-menu button. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.2.dll

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public bool ShowInPreview { get; set; }

#Property Value

Type Description
Boolean

true, if the current item is also shown in the main menu below the sub-menu button; otherwise, false.

#Remarks

With the HamburgerSubMenu.Items collection, you specify items of the current sub-menu. These items are displayed in the fly-out panel invoked by clicking or tapping the sub-menu button. It is also possible to display the sub-menu items directly in the main menu below the sub-menu button, in a preview. To display a particular item in the preview, set its ShowInPreview property to true. If an item is displayed in the preview, you can also mark it as ‘favorite’ in the fly-out panel by setting the HamburgerSubMenuNavigationButton.ShowPreviewMark property to true.

See Also