Skip to main content
A newer version of this page is available. .

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

[Browsable(false)]
public int VisibleIndex { get; }

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:

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.

See Also