Back to Devexpress

HamburgerSubMenuNavigationButton.ShowInPreview Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgersubmenunavigationbutton.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public bool ShowInPreview { get; set; }
vb
Public Property ShowInPreview As Boolean

Property Value

TypeDescription
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

ShowPreviewMark

HamburgerSubMenuNavigationButton Class

HamburgerSubMenuNavigationButton Members

DevExpress.Xpf.WindowsUI Namespace