Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBox.ButtonStyle Property

Defines the expand/collapse button display method.

Syntax

Get

VB.NETStyle = object.ButtonStyle As SftBoxButtonStyleConstants
VBStyle = object.ButtonStyle As SftBoxButtonStyleConstants
C#.NETSftBoxButtonStyleConstants Style = object.ButtonStyle;
VC++enum SftBoxButtonStyleConstants Style = object->ButtonStyle;
enum SftBoxButtonStyleConstants Style = object->GetButtonStyle();
CHRESULT object->get_ButtonStyle(enum SftBoxButtonStyleConstants* Style);

Put

VB.NETobject.ButtonStyle = Style As SftBoxButtonStyleConstants
VBobject.ButtonStyle = Style As SftBoxButtonStyleConstants
C#.NETSftBoxButtonStyleConstants object.ButtonStyle = Style;
VC++enum SftBoxButtonStyleConstants object->ButtonStyle = Style;
void object->PutButtonStyle(enum SftBoxButtonStyleConstants Style);
CHRESULT object->put_ButtonStyle(enum SftBoxButtonStyleConstants Style);

object

A SftBox object.

Style

Defines the expand/collapse button display method.

StyleValueDescription
buttonsSftBoxNone0None. The combo box control does not display expand/collapse buttons.
buttonsSftBox11The combo box control displays expand/collapse buttons for parent items on level 1 and above.
buttonsSftBoxAll2The combo box control displays expand/collapse buttons for parent items on all levels.

Comments

The ButtonStyle property defines the expand/collapse button display method.

If the connecting tree lines are not displayed (see Items.TreeLineStyle property), the expand/collapse buttons are not shown. Tree lines are required for expand/collapse buttons to be shown.

If no button graphic has been defined using the ButtonPicture property, the default expand/collapse buttons are shown.

See Also SftBox Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.