|
|
|
SftTree.ButtonStyle Property |
Defines the expand/collapse button display method.
Syntax
VB.NET |
Style = object.ButtonStyle As SftTreeButtonStyleConstants |
||
VB |
Style = object.ButtonStyle As SftTreeButtonStyleConstants |
||
C#.NET |
SftTreeButtonStyleConstants Style = object.ButtonStyle; |
||
VC++ |
enum SftTreeButtonStyleConstants Style = object->ButtonStyle;
|
||
C |
HRESULT object->get_ButtonStyle(enum SftTreeButtonStyleConstants* Style); |
||
Delphi |
Style := object.ButtonStyle : TOleEnum; |
||
VB.NET |
object.ButtonStyle = Style As SftTreeButtonStyleConstants |
||
VB |
object.ButtonStyle = Style As SftTreeButtonStyleConstants |
||
C#.NET |
SftTreeButtonStyleConstants object.ButtonStyle = Style; |
||
VC++ |
enum SftTreeButtonStyleConstants object->ButtonStyle = Style;
|
||
C |
HRESULT object->put_ButtonStyle(enum SftTreeButtonStyleConstants Style); |
||
Delphi |
object.ButtonStyle := Style : TOleEnum; |
object
A SftTree object.
Style
Defines the expand/collapse button display method.
Style |
Value |
Description |
0 |
None. The tree control does not display expand/collapse buttons. |
|
1 |
The tree control displays expand/collapse buttons for parent items on level 1 and above. |
|
2 |
The tree 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.
The expand/collapse buttons graphic is defined using the ButtonAppearance property.
See Also SftTree Object | Object Hierarchy