Expand Action (Specific to DevExpressXtraNavBar Controls)

Applies to TestComplete 15.64, last modified on May 16, 2024


The Expand action expands or collapses the tested Developer Express XtraNavBar control if the NavigationPane style is applied to it. The action does not move the mouse cursor.



TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section
Expand [in]    Optional    Boolean Default value: False   
Result None

Applies To

The method is applied to the following object:

View Mode

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


The method has the following parameter:


Specifies whether to expand or collapse the control.

Result Value



If the navigation bar is already collapsed, the Collapse action performs no action and posts an informative message to the test log.

If the NavigationPane style is not applied to the control, the action fails.

See Also

ExpandGroup Action (Explorer Controls)
Collapse Action (Specific to DevExpressXtraNavBar Controls)
wExpanded Property (Specific to DevExpressXtraNavBar Controls)

Highlight search results