A newer version of this page is available. Switch to the current version.

TabControlSettings.SyncSelectionMode Property

Gets or sets whether the tab, whose navigation location points to the currently browsed web page, is automatically activated.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public SyncSelectionMode SyncSelectionMode { get; set; }
Public Property SyncSelectionMode As SyncSelectionMode

Property Value

Type Description

A SyncSelectionMode enumeration value that specifies whether automatic synchronization of tab selection with the path of the currently browsed page is enabled.


If the SyncSelectionMode property is set to 'CurrentPath', the tab, whose Tab.NavigateUrl property's value points to the URL of the currently browsed page, is automatically activated. In this case, the query string appended to the URL is ignored.

If the SyncSelectionMode property is set to 'CurrentPathAndQuery', the tab is automatically activated if its Tab.NavigateUrl property's value matches the URL and query string of the page currently being browsed.

To disable automatic synchronization, set the SyncSelectionMode property to 'None'.

See Also