VGridControlBase.TopVisibleRowIndex Property

Gets or sets the top visible row.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

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

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