Articles in this section
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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied