Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

SelectOnClick Property, RowHeadersClass Class

Defines whether clicking on a row header selects the item.

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

Syntax

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

Value

True if clicking on a row header selects the item, otherwise False.

The default value is False.

Comments

Defines whether clicking on a row header selects the item.

SelectOnClick is only available if the SftTree.SelectionStyle property allows item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems). It has no effect if cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells).

When the user clicks on a row header, the ItemClick event and the SelectionChanged event occur.

See Also RowHeadersClass Class | Classes | SftTree/NET 2.0