Back to Devexpress

VGridControlBase.TopVisibleRowIndex Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-779b3173.md

latest1.9 KB
Original Source

VGridControlBase.TopVisibleRowIndex Property

Gets or sets the top visible row.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public int TopVisibleRowIndex { get; set; }
vb
<Browsable(False)>
Public Property TopVisibleRowIndex As Integer

Property Value

TypeDescription
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

TopVisibleRowIndexChanged

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace