wRootItemCount Property (Specific to Win32TreeView Controls)

Applies to TestComplete 15.47, last modified on January 20, 2023
This property is obsolete. See the Remarks section below.

Description

A tree view can hold several root items (nodes). The wRootItemCount property returns the total number of root items in the given tree view control.

Declaration

TestObj.wRootItemCount

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

An integer value that specifies the total number of root items in the given tree view.

Remarks

The property is obsolete. It is supported for backward compatibility only. It is displayed neither in the Code Completion window nor in the Object Browser. To get the number of root items of the tree view control, use the Count property of the TreeViewItemCollection object returned by the control’s wItems property.

See Also

wRootItem Property (Specific to Win32TreeView Controls)
wItems Property (TreeView Controls)
wSelection Property (Specific to Win32TreeView Controls)

Highlight search results