Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Pressed Property, FootersClass Class

Returns the cell in the column footer area that is currently pressed.

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

Syntax

public CellClass Pressed { get; internal set; }
Public Property Pressed As CellClass

Value

The cell that is currently pressed or null/Nothing if no cell is pressed.

Comments

Returns the cell in the column footer area that is currently 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 Pressed property returns null/Nothing. The FootersClass.LastClicked, FootersClass.ClickedRow and FootersClass.ClickedColumn properties 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