Expand Action (Specific to DevExpressXtraNavBar Controls)

Applies to TestComplete 14.0, last modified on January 23, 2019

Description

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.

Declaration

TestObj.Expand(Expand)

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.

Parameters

The method has the following parameter:

Expand

Specifies whether to expand or collapse the control.

Result Value

None.

Remarks

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