Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ClickedRow Property, FootersClass Class

Returns the row index of the cell in the column footer area that was last pressed.

Class: FootersClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public int ClickedRow { get; internal set; }
Public Property ClickedRow As Integer

Value

The row index that was last pressed or -1 if no cell was pressed.

Comments

Returns the row index of the cell in the column footer area that was last pressed.

Only one cell in the entire column footer area can be pressed at any time.

Depending on the FootersClass.Behavior property, a cell that is clicked may automatically return to its released position. In this case, the FootersClass.Pressed property returns null/Nothing. The FootersClass.LastClicked, ClickedRow and FootersClass.ClickedColumn reflect the last pressed cell, even if it has returned to its released position.

Cells in the footer area should be defined using a background appearance that reflects their use as a footer or button (CellBaseClass.Appearance). The default appearance for all footers can be defined using the FootersClass.AppearanceDefault property.

See Also FootersClass Class | Classes | SftTree/NET 2.0