TreeListOptionsSelection.KeepSelectedOnClick Property

Gets or sets whether the selected nodes remain selected when their values are being edited.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool KeepSelectedOnClick { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property KeepSelectedOnClick As Boolean

Property Value

Type Default Description
Boolean

true

true if if the selected nodes remain selected when their values are being edited; false if the nodes are automatically deselected after the selected cell's editor has been invoked.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to KeepSelectedOnClick
WinForms Controls GanttControl
.OptionsSelection.KeepSelectedOnClick
ResourcesTree
.OptionsSelection.KeepSelectedOnClick
TreeList
.OptionsSelection.KeepSelectedOnClick
Reporting XRDesignFieldList
.OptionsSelection.KeepSelectedOnClick
XRDesignFieldList
.OptionsSelection.KeepSelectedOnClick
XRDesignReportExplorer
.OptionsSelection.KeepSelectedOnClick
XRDesignReportExplorer
.OptionsSelection.KeepSelectedOnClick

Remarks

Multiple nodes can be selected if the Tree List's TreeListOptionsSelection.MultiSelect option is set to true.

See Also