Description
Use the Expanded
property to check whether the control's item is expanded. When the state is expanded, the child items are displayed below the parent item. When it is collapsed, the child items are not displayed.
Declaration
TestObj.Expanded
Read-Only Property | Boolean |
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
True if the item is expanded, False if the item is collapsed.
Remarks
To expand or collapse the item, use the DoDefaultAction
method.