HamburgerSubMenuNavigationButton.UseContextMenuAsPreview Property

Gets or sets whether to use the context menu assigned to the HamburgerSubMenuNavigationButton.ContextMenu property regardless of whether the button is shown in the regular Sub Menu or in the preview. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v19.2.dll


public bool UseContextMenuAsPreview { get; set; }
Public Property UseContextMenuAsPreview As Boolean

Property Value

Type Description

true, to use the context menu assigned to the ContextMenu property for both regular sub menu and preview; otherwise, false.


If the UseContextMenuAsPreview property is set to false, the context menu assigned to the HamburgerSubMenuNavigationButton.PreviewContextMenu property is used for the button shown in the preview.

See Also