Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ClickedColumn Property, FootersClass Class

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

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

Syntax

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

Value

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

Comments

Returns the column 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, FootersClass.ClickedRow and 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