GridView.TopRowChanged Event

Fires when the View is scrolled vertically.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Property Changed")]
public event EventHandler TopRowChanged
<DXCategory("Property Changed")>
Public Event TopRowChanged As EventHandler

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