Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ShowSelection Property, RowHeadersClass Class

Defines whether row headers reflect the item selection (ItemClass.Selected).

Class: RowHeadersClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

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

Value

True if row headers reflect the item selection, otherwise False.

The default value is True.

Comments

Defines whether row headers reflect the item selection (ItemClass.Selected).

ShowSelection is only available if the SftTree.SelectionStyle property allows item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems) or if the row header is in the header area or footer area. It has no effect for cells in the item area when cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells).

When an item is selected, the corresponding row header is rendered in a pressed state. The visual style can be defined using the RowHeadersClass.AppearanceDefault property.

See Also RowHeadersClass Class | Classes | SftTree/NET 2.0