Skip to main content

GridView.TopRowChanged Event

Fires when the View is scrolled vertically.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid

Declaration

[DXCategory("Property Changed")]
public event EventHandler TopRowChanged

Event Data

The TopRowChanged event's data class is EventArgs.

Remarks

Write a TopRowChanged event handler to perform actions each time the View is scrolled vertically. Use the GridView.PrevTopRowIndex and GridView.TopRowIndex properties to determine the previous and current top visible rows.

Use the GridView.LeftCoordChanged event to handle the View’s horizontal scrolling.

See Also