BaseRow.VisibleIndex Property
Gets the row’s visible position within a vertical grid control.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
Int32 | A zero based integer value specifying the row’s visible position among the other visible rows. |
Remarks
Use the VisibleIndex property to obtain the position where the current row is displayed within a vertical grid control. In contrast to the BaseRow.Index property, this property defines the row’s position in relation to the grid’s other visible rows.
If the VisibleIndex property value is -1 the row is not displayed within the control. This can happen in the following cases:
- a row is hidden within collapsed parent rows;
- a row is hidden (its BaseRow.Visible property is set to false). In this instance, its header is displayed within the Customization Form if the row’s VGridOptionsRow.ShowInCustomizationForm option is enabled.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the VisibleIndex property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.