![]() |
Selection
Friday, 21 August 2009
Flexible TreeView supports both single and multiple nodes selection modes by changing the Options.Selection.SelectionMode treeview property.
Flexible TreeView allows you to select many nodes by clicking the mouse on empty space and moving over the desired nodes. To do that, enable the Options.Selection.AllowMultiSelectByMouse treeview property.
Flexible TreeView allows you to validate which node can be selected. To do that, enable the Options.Selection.ValidateNodeSelection treeview property and subscribe to the SelectionChanging treeview event where you can cancel selection of any node. If the treeview has one selected node, and the mouse is clicked on this node with the Control key pressed, Flexible TreeView allows you to define whether this node will be unselected or remain selected (so at least one node will be selected). The Options.Selection.AllowEmptySelection treeview property controls this behavior. If a treeview with selected nodes loses focus, Flexible TreeView allows you to temporarily hide the fact that it has any selected nodes. To do that, enable the Options.Selection.HideSelection treeview property. When you select a node, Flexible TreeView allows you to define how the selected node will be highlighted by using the Options.Selection.HighlightMode treeview property.
|
|