TreeListOptionsBehavior.KeepSelectedOnClick Property

Gets or sets whether the selected nodes remain selected when their values are being edited. This setting is in effect only for DevExpress versions 16.2 and older.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[Browsable(false)]
public virtual bool KeepSelectedOnClick { get; set; }
<Browsable(False)>
Public Overridable Property KeepSelectedOnClick As Boolean

Property Value

Type Description
Boolean

true 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
.OptionsBehavior.KeepSelectedOnClick
GanttControl
.OptionsBehavior.KeepSelectedOnClick
ResourcesTree
.OptionsBehavior.KeepSelectedOnClick
TreeList
.OptionsBehavior.KeepSelectedOnClick
Reporting XRDesignFieldList
.OptionsBehavior.KeepSelectedOnClick
XRDesignFieldList
.OptionsBehavior.KeepSelectedOnClick
XRDesignReportExplorer
.OptionsBehavior.KeepSelectedOnClick
XRDesignReportExplorer
.OptionsBehavior.KeepSelectedOnClick

Remarks

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

IMPORTANT

For DevExpress installations of version 17.1 and higher, use the TreeListOptionsSelection.KeepSelectedOnClick property instead.

See Also