BaseRow.VisibleIndex Property
Gets the row’s visible position within a vertical grid control.
Namespace: DevExpress.XtraVerticalGrid.Rows
Assembly: DevExpress.XtraVerticalGrid.v24.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.
See Also