Back to Devexpress

TreeListOptionsBehavior.KeepSelectedOnClick Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-41b9cc1a.md

latest2.1 KB
Original Source

TreeListOptionsBehavior.KeepSelectedOnClick Property

This property is obsolete. Use the TreeListOptionsSelection.KeepSelectedOnClick property instead.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool KeepSelectedOnClick { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property KeepSelectedOnClick As Boolean

Property Value

TypeDescription
Boolean

true , if row selection persists when a user clicks on a selected row’s cell; false , if the control deselects rows (except for the clicked row) on a cell click.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to KeepSelectedOnClick
TreeList

.OptionsBehavior .KeepSelectedOnClick

|

See Also

MultiSelect

KeepSelectedOnClick

TreeListOptionsBehavior Class

TreeListOptionsBehavior Members

DevExpress.XtraTreeList Namespace