Expansion automation settings.
OptionValue can be set to one of the following valid options:
|None||N||The user must use expansion buttons or the keyboard to toggle the expanded state|
|Single||S||The user can expand and collapse by single clicking on an item|
|Double||D||The user can expand and collapse by double clicking on an item|
The ExpandBehavior property establishes how the control chooses when to expand or collapse tree items. By default, double clicking a tree item will toggle its expanded state. However, you can choose to allow single clicks do this or to prevent mouse clicks from toggling the expanded state at all. Simply set this property to "Single" or "None" to achieve the respective results, or leave it set to "Double" to allow double clicks to expand and collapse.
Regardless of this property's value, the user can still expand and collapse items using the expansion buttons or the keyboard.