| 
 | 
 | 
 | 
| SftTreeItems.UpdateCurrentExpandCollapse Property | 
Defines whether the current item (Items.Current) is updated when the expand/collapse button is clicked.
Syntax
| VB.NET | Boolean = object.UpdateCurrentExpandCollapse As Boolean | ||
| VB | Boolean = object.UpdateCurrentExpandCollapse As Boolean | ||
| C#.NET | bool Boolean = object.UpdateCurrentExpandCollapse; | ||
| VC++ | 
VARIANT_BOOL Boolean = object->UpdateCurrentExpandCollapse;
 | ||
| C | HRESULT object->get_UpdateCurrentExpandCollapse(VARIANT_BOOL* Boolean); | ||
| Delphi | Boolean := object.UpdateCurrentExpandCollapse : WordBool; | ||
| VB.NET | object.UpdateCurrentExpandCollapse = Boolean As Boolean | ||
| VB | object.UpdateCurrentExpandCollapse = Boolean As Boolean | ||
| C#.NET | bool object.UpdateCurrentExpandCollapse = Boolean; | ||
| VC++ | 
VARIANT_BOOL object->UpdateCurrentExpandCollapse = Boolean;
 | ||
| C | HRESULT object->put_UpdateCurrentExpandCollapse(VARIANT_BOOL Boolean); | ||
| Delphi | object.UpdateCurrentExpandCollapse := Boolean : WordBool; | ||
object
A SftTreeItems object.
Boolean
Defines whether the current item (Items.Current) is updated when the expand/collapse button is clicked.
| Boolean | Description | 
| True | The current item is updated when the expand/collapse button is clicked. The Items.Current property is updated and the ItemIndex argument of the ItemClick event indicates which item's expand/collapse button has been clicked. | 
| False | The current item is not updated when the expand/collapse button is clicked. The ItemIndex argument of the ItemClick event indicates which item's expand/collapse button has been clicked. | 
Comments
The UpdateCurrentExpandCollapse property defines whether the current item (Items.Current) is updated when the expand/collapse button is clicked.
See Also SftTreeItems Object | Object Hierarchy