Adds a Style object to the Styles collection.
Syntax:
Styles.Add([Key As String])
The Add Method (Styles Collection) syntax has these parts:
| Part |
Description |
| Styles |
An object expression that evaluates to an XTTreeview Control's Styles collection. |
| Key |
(Optional). A string value that uniquely identifies the Style object. |
Remarks:
This method adds objects at the top of the list. In order to retrieve the index of the Style object that was added use the collection's Count property.