Skip to main content

HamburgerMenu.SyncWithActivePage Property

Gets or sets whether the button selection in the menu is automatically synchronized with the navigated page.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v23.2.dll

NuGet Package: DevExpress.Wpf.Controls

Declaration

public bool SyncWithActivePage { get; set; }

Property Value

Type Description
Boolean

true, if the button selection in the menu is automatically synchronized with the navigated page; otherwise, false. The default is true.

Remarks

The button currently selected in the menu (see HamburgerMenu.SelectedItem) is automatically synchronized with the navigated page. This means that when an end-user navigates to a page, the corresponding button (the button that has the same navigation target page as the page being navigated) is automatically selected in the menu. If the menu does not contain the corresponding button, no button is selected. By default, this feature is enabled. Set the SyncWithActivePage property to false to disable this automatic synchronization.

See Also