HeaderPane
Main
Hide
Share Link
Print

SelectionGroups Property, SftTreeItems Object

Returns the number of groups of selected items.

Syntax

Get

C#int Count = object.SelectionGroups;
VB.NETCount = object.SelectionGroups As Integer
C++long Count = object->SelectionGroups;
long Count = object->GetSelectionGroups();
CHRESULT object->get_SelectionGroups(long* Count);
VBCount = object.SelectionGroups As Long

object

A SftTreeItems object.

Count

Returns the number of groups of selected items.

Comments

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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.