Defines the currently pressed column header button.
Get
| C# | short ColIndex = object.Pressed; |
| VB.NET | ColIndex = object.Pressed As Short |
| C++ | short ColIndex = object->Pressed; short ColIndex = object->GetPressed(); |
| C | HRESULT object->get_Pressed(short* ColIndex); |
| VB | ColIndex = object.Pressed As Integer |
Put
| C# | short object.Pressed = ColIndex; |
| VB.NET | object.Pressed = ColIndex As Short |
| C++ | short object->Pressed = ColIndex; void object->PutPressed(short ColIndex); |
| C | HRESULT object->put_Pressed(short ColIndex); |
| VB | object.Pressed = ColIndex As Integer |
object
A SftTreeHeaders object.
ColIndex
Defines the currently pressed column header button. This can be -1 if no column header button is pressed.
The Pressed property defines the currently pressed column header button.
Only one button can be pressed at a time. All buttons can be reset by specifying -1 as ColIndex.
The Header.RemainUp property can be used to allow header buttons to automatically return to their "up" position, so the Headers.Pressed property does not have to be used.
See Also SftTreeHeaders Object | Object Hierarchy