| 
 | 
 | 
 | 
| 
        | ExpandCollapseButton Property, ItemClass Class | 
Defines the expand/collapse button style.
Syntax ItemClass Class (Softelvdm.SftTreeNET)
| VB | Public Property ExpandCollapseButton As ExpandCollapseButtonStyleEnum | 
| C# | public ExpandCollapseButtonStyleEnum ExpandCollapseButton { get; set; } | 
| C++ | public: property ExpandCollapseButtonStyleEnum ExpandCollapseButton { | 
Property Value
| Value | Description | |
| 0 | The expand/collapse button is only shown if the item has dependents. | |
| 1 | The expand/collapse button is always shown even if the item does not have dependents. An application can dynamically add dependents when the ItemClick event occurs. | |
| 2 | Never show the expand/collapse button even if the item has dependents. | 
The default value is ExpandCollapseButtonStyleEnum.Conditional.
Comments
The ExpandCollapseButton property defines the expand/collapse button style.
This method can only be used for items in the item area.