SftTree/NET 2.0 Documentation

Display
Print

Selected Property, ItemClass Class

Defines whether this item is selected.

Class: ItemClass
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 item is selected.

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

When an item is selected, the SelectionChanged event occurs.

See Also ItemClass Class | Classes | SftTree/NET 2.0