DataGridView Events
A data grid view.
Name | Description |
---|---|
Auto |
Occurs each time an individual column is generated automatically. |
Calculate |
Allows you to specify a custom rule to calculate data summaries. |
Complete |
Occurs after the drag-and-drop operation is completed. |
Custom |
Occurs before a data cell is painted. |
Customize |
Allows you to provide a custom display text for any data cell. |
Custom |
Enables you to populate unbound columns with data, and save changes that users made in unbound columns. |
Double |
Occurs when a user double taps the grid. |
Drag |
Occurs when users touch and hold a data row to drag it. |
Drag |
Occurs each time a row is over another row when being dragged. |
Drop |
Occurs when users drop a row. |
Group |
Occurs after a group of rows has been collapsed. |
Group |
Occurs before a group of rows is collapsed. |
Group |
Occurs after a group of rows has been expanded. |
Group |
Occurs before a group of rows is expanded. |
Load |
Occurs when a user scrolls to the bottom of the grid to load new data items. |
Long |
Occurs when a user taps and holds anywhere within the grid. |
Pull |
Occurs when a user pulls the grid down to refresh its content. |
Selection |
Occurs after the selected row has been changed in the grid. |
Showing |
Fires when a cell editor is about to be displayed and allows you to cancel the action. |
Swipe |
Fires when a swipe item is about to be shown when a user swipes a row from left to right or from right to left, and allows you to cancel the action. |
Tap | Occurs when a user taps the grid. |
Tap |
Occurs when a single tap is confirmed (a user tapped the grid and a second tap leading to the double-tap gesture did not follow). |
Validate |
Occurs after a user changes a cell value in the in-place editor and attempts to select another cell. |
Validation |
Occurs when a value in the in-place cell editor fails validation or when it cannot be saved to a data source. |
See Also