Skip to main content
A newer version of this page is available. .

GridView.TopRowChanged Event

Fires when the View is scrolled vertically.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll


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

Event Data

The TopRowChanged event's data class is EventArgs.


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