ASPxTreeView.SyncSelectionMode Property
Gets or sets whether the node whose navigation location points to the currently browsed web page is automatically selected.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(SyncSelectionMode.CurrentPathAndQuery)]
public SyncSelectionMode SyncSelectionMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Sync |
Current |
A Sync |
Available values:
Name | Description |
---|---|
None | Automatic selection synchronization is disabled. |
Current |
A web control’s item, whose Navigate |
Current |
A web control’s item, whose Navigate |
#Remarks
The ASPxTreeView supports automatic synchronization of node selection with the path of the currently browsed page. You can choose synchronization mode by specifying the SyncSelectionMode property value.
The table below lists the available property values with their descriptions:
Value | Description |
---|---|
Current |
The node whose Tree |
Current |
The node is automatically selected if its Tree |
None | Automatic selection synchronization is disabled. |
Note
Automatic selection synchronization is enabled if the ASPxtrue
.
Note
The Sync
In virtual mode, the ASPx
- When the Sync
Selection is set to None, the ASPxMode Tree event only fires for the node being expanded.View. Virtual Mode Create Children - Otherwise, the ASPx
Tree event fires for the node being expanded, and for all previously expanded nodes.View. Virtual Mode Create Children