HeaderPane
Main
Hide
Share Link
Print

ButtonDown Property, SftBoxHeaders Object

Defines the currently pressed header button.

Syntax

Get

C#short ButtonIndex = object.ButtonDown;
VB.NETButtonIndex = object.ButtonDown As Short
C++short ButtonIndex = object->ButtonDown;
short ButtonIndex = object->GetButtonDown();
CHRESULT object->get_ButtonDown(short* ButtonIndex);

Put

C#short object.ButtonDown = ButtonIndex;
VB.NETobject.ButtonDown = ButtonIndex As Short
C++short object->ButtonDown = ButtonIndex;
void object->PutButtonDown(short ButtonIndex);
CHRESULT object->put_ButtonDown(short ButtonIndex);

object

A SftBoxHeaders object.

ButtonIndex

The zero-based index of the currently pressed column header. -1 if no header button is pressed.

Comments

The ButtonDown property defines the currently pressed header button.

This property can only be used if column headers are defined as buttons (see Headers.Style).

Only one column header button can be pressed at one time.

For header buttons to remain in their pressed position when the user clicks on them, the Header.RemainUp property must be set to False for each header.

See Also SftBoxHeaders Object | Object Hierarchy


Last Updated 11/22/2026 - (email)
© 2026 Softel vdm, Inc.