wGroupCount Property (Specific to Win32ListView Controls)

Applies to TestComplete 15.45, last modified on December 01, 2022

Description

The items of the list-view control can be organized into several groups. Use the wGroupCount property to get the total number of these groups in a control. To obtain data about a certain group or groups use the wGroup and wGroups properties.

Declaration

TestObj.wGroupCount

Read-Only Property Integer
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

The total number of groups in the list-view control.

Example

To view an example that demonstrates how to use the wGroupCount property, see Working With List View Groups in Desktop Windows Applications.

See Also

Working With List View Groups in Desktop Windows Applications
Win32ListViewGroup Object
wGroup Property (Specific to WIn32 ListView Controls)
wGroups Property (Specific to Win32 ListView Controls)

Highlight search results