Category / Section
What are the events to capture scroll movements?
1 min read
You can handle TopRowChanged (or TopRowChanging) events to capture the scroll movements.
C#
this.gridDataBoundGrid1.TopRowChanged += new Syncfusion.Windows.Forms.Grid.GridRowColIndexChangedEventHandler(gridDataBoundGrid1_TopRowChanged);
void gridDataBoundGrid1_TopRowChanged(object sender, Syncfusion.Windows.Forms.Grid.GridRowColIndexChangedEventArgs e)
{
MessageBox.Show("Fired");
}
VB
AddHandler gridDataBoundGrid1.TopRowChanged, AddressOf gridDataBoundGrid1_TopRowChanged
Private Sub gridDataBoundGrid1_TopRowChanged(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridRowColIndexChangedEventArgs)
MessageBox.Show("Fired")
End Sub