Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

[Browsable(false)]
public virtual bool KeepSelectedOnClick { get; set; }

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