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.2.dll
NuGet Package: DevExpress.Win.TreeList
Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
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 |
|
TreeList |
|
|
Reporting | XRDesignFieldList |
|
XRDesignReportExplorer |
|
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.