Skip to main content

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