|
|
|
SftBox.ButtonStyle Property |
Defines the expand/collapse button display method.
Syntax
VB.NET |
Style = object.ButtonStyle As SftBoxButtonStyleConstants |
||
VB |
Style = object.ButtonStyle As SftBoxButtonStyleConstants |
||
C#.NET |
SftBoxButtonStyleConstants Style = object.ButtonStyle; |
||
VC++ |
enum SftBoxButtonStyleConstants Style = object->ButtonStyle;
|
||
C |
HRESULT object->get_ButtonStyle(enum SftBoxButtonStyleConstants* Style); |
||
Delphi |
Style := object.ButtonStyle : TOleEnum; |
||
VB.NET |
object.ButtonStyle = Style As SftBoxButtonStyleConstants |
||
VB |
object.ButtonStyle = Style As SftBoxButtonStyleConstants |
||
C#.NET |
SftBoxButtonStyleConstants object.ButtonStyle = Style; |
||
VC++ |
enum SftBoxButtonStyleConstants object->ButtonStyle = Style;
|
||
C |
HRESULT object->put_ButtonStyle(enum SftBoxButtonStyleConstants Style); |
||
Delphi |
object.ButtonStyle := Style : TOleEnum; |
object
A SftBox object.
Style
Defines the expand/collapse button display method.
Style |
Value |
Description |
0 |
None. The combo box control does not display expand/collapse buttons. |
|
1 |
The combo box control displays expand/collapse buttons for parent items on level 1 and above. |
|
2 |
The 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.