TcxCustomShellComboBoxProperties.TreeViewOptions Property
Specifies the shell combo box dropdown options.
Declaration
property TreeViewOptions: TcxPopupShellTreeViewOptions read; write; default [tvoContextMenus, tvoHotTrack, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoShowToolTip];
Property Value
Type |
---|
TcxPopupShellTreeViewOptions |
Remarks
Use the TreeViewOptions property to specify the shell combo box dropdown options.
All the possible values for this property are listed in the following table.
Value | Meaning |
---|---|
tvoContextMenus | Determines whether the shell context menus are displayed. |
tvoHotTrack | Specifies whether the shell combo box dropdown items are hot-tracked when the mouse hovers over them. |
tvoShowButtons | Specifies whether the expand buttons are displayed next to the parent dropdown items. If this option is deactivated, then the parent items can be expanded by double-clicking on them (if the tvoRightClickSelect option is True). |
tvoShowLines | Specifies whether the tree lines are displayed within the shell combo box dropdown. |
tvoShowRoot | Determines whether the expand buttons and the tree lines are displayed at the root level of the shell combo box dropdown. |
tvoRightClickSelect | Specifies whether the property returns the right-clicked node when the control’s popup menu is invoked. This option also affects end-user capabilities in node selection and expansion. If set, the dropdown window remains open when selecting nodes using a left click. In addition, nodes can be expanded or collapsed via a double click, as an alternative to using expand buttons (see the tvoShowButtons option). If the option is not set, selecting a node via a left click automatically closes the dropdown window. |
The default value of the TreeViewOptions property is [tvoContextMenus,tvoHotTrack,tvoShowButtons,tvoShowLines,tvoShowRoot].