Description
Use the wExpanded
property to determine whether a certain grid column is expanded or collapsed
Declaration
TestObj.wExpanded(Column)
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 | |||
Column | [in] | Required | Integer |
Applies To
The property is applied to the following objects:
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
Column
Specifies the caption or index of the desired grid column.
The index is zero-based and corresponds to the column’s position within the object's internal columns collection rather than the column’s visible position in the object.
The caption can contain asterisk (*) or question mark (?) wildcards or regular expressions. The asterisk corresponds to a string of any length, the question mark corresponds to any single character. To specify more complicated parts of a caption, use regular expressions.
The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.
The XtraVerticalGrid control may contain multi-editor columns. These columns contain several headers (or nested columns) within each column. TestComplete considers these nested columns as ordinary columns, and both types of columns share the same index space. The following image illustrates a typical structure of the XtraVerticalGrid control: |
Property Value
True, if the specified column is expanded, otherwise - False. If the specified column was not found, the property also returns False and posts an error message to the test log.
Remarks
To expand and collapse grid columns, use the Expand
and Collapse
actions.
See Also
Expand Action (Specific to DevExpressXtraVerticalGrid Controls)
Collapse Action (Specific to DevExpressXtraVerticalGrid Controls)