Removes a Style object from the Styles collection.
Syntax:
Styles.Remove Index
The Remove Method (Styles Collection) syntax has these parts:
| Part |
Description |
| Styles |
An object expression that evaluates to an XTTreeview Control's Styles collection. |
| Index |
(Required). A long integer value specifying the index in the Styles collection of the Style object to be removed. |
Remarks:
If any Header object is associated with the Style object being removed, it's StyleIndex property is set to 0 (default Style object). To force a complete repaint of the control when this method completes invoke the Redraw method.