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



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.