Skip to main content

HamburgerMenu.SyncWithWindowBackButton Property

Gets or sets whether the parent’s back command is synchronized with the menu’s back command.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public bool SyncWithWindowBackButton { get; set; }

Property Value

Type Description
Boolean

true, if the parent’s back command is synchronized with the menu’s back command; otherwise, false. The default is true.

Remarks

If the menu’s parent supports the back navigation (for instance, the ThemedWindow supports this feature; see ThemedWindow.NavigateBackCommand), you can synchronize the menu’s back command (the default one or the custom one; see HamburgerMenu.GoBackCommand) with the parent’s back command by enabling the SyncWithWindowBackButton option. If this option is enabled, the HamburgerMenu.IsWindowBackButtonVisible property overrides the parent’s ShowBackButton property.

See Also