Back to Devexpress

TreeListOptionsSelection.InvertSelection Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsselection-71368908.md

latest2.1 KB
Original Source

TreeListOptionsSelection.InvertSelection Property

Gets or sets whether the focused style is applied to the focused cell only or to all the cells except for the focused one.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool InvertSelection { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property InvertSelection As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to apply the focused style to the focused cell only; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to InvertSelection
TreeList

.OptionsSelection .InvertSelection

|

Remarks

The image below shows the Tree List’s appearance when the InvertSelection property is set to false and true , respectively.

See Also

MultiSelect

TreeListOptionsSelection Class

TreeListOptionsSelection Members

DevExpress.XtraTreeList Namespace