Occurs when the user scrolls the DataGrid control.
The following declaration shows the syntax for a method that handles the Scroll event.
[Visual Basic] Private Sub DataGridName_Scroll( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) [C#] private void DataGridName_Scroll( object sender, EventArgs e ); [C++] private: void DataGridName_Scroll( Object* sender, EventArgs* e ); [JScript] private DataGridName_Scroll( sender : Object, e : EventArgs );
Property | Description |
---|---|
|
DataGrid Class | DataGrid MembersTopic | System.WinForms Namespace