Skip to main content

VGridControlBase.TopVisibleRowIndex Property

Gets or sets the top visible row.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

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

Property Value

Type Description
Int32

An integer value that specifies the index of the top visible row.

Remarks

Use the TopVisibleRowIndex property to scroll through the rows in code. The specified row will become the top visible one, if possible.

If Bands View Layout is applied, assigning a new value to the TopVisibleRowIndex property will scroll the control’s view to the band that contains the specified row. In this instance, the TopVisibleRowIndex property will be set to the index of the first row in the band.

See Also