Back to Devexpress

TreeListOptionsSelection.UseIndicatorForSelection Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsselection-262d6299.md

latest2.5 KB
Original Source

TreeListOptionsSelection.UseIndicatorForSelection Property

Gets or sets whether nodes can be selected via the node indicator when the Tree List is in multiple selection mode.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool UseIndicatorForSelection { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property UseIndicatorForSelection As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if nodes can be selected via the node indicator; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to UseIndicatorForSelection
TreeList

.OptionsSelection .UseIndicatorForSelection

|

Remarks

Set the TreeListOptionsSelection.MultiSelect option to true to allow an end-user to select multiple nodes. End-users can drag with the mouse along the indicator to select a range of nodes or click a specific node’s indicator cell while holding down the CTRL key to toggle only this node’s selection state.

If the UseIndicatorForSelection property is set to false , nodes cannot be selected via the indicator.

See Also

MultiSelect

TreeListOptionsSelection Class

TreeListOptionsSelection Members

DevExpress.XtraTreeList Namespace