Skip to main content

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public bool UseContextMenuAsPreview { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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