Back to Devexpress

HamburgerMenu.SyncWithWindowBackButton Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-hamburgermenu-d208e108.md

latest2.1 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Controls

Declaration

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

Property Value

TypeDescription
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

GoBackCommand

ShowBackButton

NavigateBackCommand

HamburgerMenu Class

HamburgerMenu Members

DevExpress.Xpf.WindowsUI Namespace