|
|
|
|
ShowSelection Property, RowHeadersClass Class |
Defines whether row headers reflect the item selection (ItemClass.Selected).
Syntax RowHeadersClass Class (Softelvdm.SftTreeNET)
VB |
Public Property ShowSelection As Boolean |
C# |
public bool ShowSelection { get; set; } |
C++ |
public: property bool ShowSelection { |
Property Value
True if row headers reflect the item selection, otherwise False.
The default value is True.
Comments
The ShowSelection property defines whether row headers reflect the item selection (ItemClass.Selected).
ShowSelection is only available if the 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 RowHeaders.AppearanceDefault property.