Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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