Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Selected Property, CellClass Class

Defines whether this cell is selected.

Class: CellClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public bool Selected { get; set; }
Public Property Selected As Boolean

Value

True if selected, otherwise False.

Comments

Defines whether this cell is selected.

The Selected property is only available if the SftTree.SelectionStyle property allows cell selection (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells). It cannot be used if item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems) is in effect.

When an cell is selected, the SelectionChanged event occurs.

See Also CellClass Class | Classes | SftTree/NET 2.0