Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.TopVisibleRowIndex Property

Gets or sets the top visible row.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.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