Description
Use this property to determine whether the specified row is expanded or collapsed.
Declaration
TestObj.wExpanded(Row)
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 | |||
Row | [in] | Required | Integer |
Applies To
The property is applied to the following objects:
Developer Express XtraGrid, DevExpressXtraGridView, Infragistics UltraGrid and 9 more objects, Infragistics WebDataGrid, Infragistics XamDataGrid, InfragisticsUltraGridView, InfragisticsWebDataGridView, Syncfusion Essential Grid (GridGroupingControl), SyncfusionEssGridView, Telerik RadGridView for WinForms, Telerik RadGridView for WPF, XamDataGridView « Collapse the list
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The property has the following parameter:
Row
Specifies the index of the desired row. The index is zero-based and it corresponds to the row's position within the object's internal row collection rather than to the row's visible position in the object.
Property Value
Returns True
if the row is expanded. Returns False
otherwise.
Remarks
If the specified row is not found, the property returns False
and posts an error message to the test log.
To expand and collapse grid rows, use the Expand
and Collapse
actions. You can also simulate collapsing and expanding grid rows by using the Click
and DblClick
actions.
If you use Python or DelphiScript, you should enclose the parameter of the Expand
property in square brackets: Expand[Row]
.
See Also
wExpanded Property (Specific to DevExpressQuantumGrid Controls)
wExpanded Property (Specific to DevExpressXtraVerticalGrid Controls)
wExpanded Property (Specific to PropertyGrid Controls)
Collapse Action (Grid Controls)
Expand Action (Grid Controls)