Returns the number of groups of selected items.
Get
| C# | int Count = object.SelectionGroups; |
| VB.NET | Count = object.SelectionGroups As Integer |
| C++ | long Count = object->SelectionGroups; long Count = object->GetSelectionGroups(); |
| C | HRESULT object->get_SelectionGroups(long* Count); |
| VB | Count = object.SelectionGroups As Long |
object
A SftTreeItems object.
Count
Returns the number of groups of selected items.
The SelectionGroups property returns the number of groups of selected items.
In a multiple selection tree control, many discontiguous groups of items may be selected. While the Items.Selection property returns an index for each selected item, the Items.SelectionGroupStart and Items.SelectionGroupEnd properties return each group of selected items. For a large number of selected items this is the preferred method.
See Also SftTreeItems Object | Object Hierarchy