DataGridView Events
A data grid view.Name | Description |
---|---|
AutoGeneratingColumn | Occurs each time an individual column is generated automatically. |
CompleteRowDragDrop | Occurs after the drag-and-drop operation is completed. |
CustomCellAppearance | Occurs before a data cell is painted. |
CustomCellDisplayText | |
CustomFilter | Allows you to apply custom filter rules to grid rows. |
CustomGroup | Enables you to group data in a custom manner. |
CustomGroupDisplayText | Allows you to customize text for group rows. |
CustomSort | Enables you to sort data in a custom manner. |
CustomSummary | Allows you to specify a custom rule to calculate data summaries. |
CustomUnboundData | Enables you to populate unbound columns with data, and save changes that users made in unbound columns. |
DoubleTap | Occurs when a user double taps the grid. |
DragRow | Occurs when users touch and hold a data row to drag it. |
DragRowOver | Occurs each time a row is over another row when being dragged. |
DropRow | Occurs when users drop a row. |
EditorShowing | Fires when a cell editor is about to be displayed and allows you to cancel the action. |
GroupCollapsed | Occurs after a group of rows has been collapsed. |
GroupCollapsing | Occurs before a group of rows is collapsed. |
GroupExpanded | Occurs after a group of rows has been expanded. |
GroupExpanding | Occurs before a group of rows is expanded. |
LoadMore | Occurs when a user scrolls to the bottom of the grid to load new data items. |
LongPress | Occurs when a user taps and holds anywhere within the grid. |
PullToRefresh | Occurs when a user pulls the grid down to refresh its content. |
SelectionChanged | Occurs after the selected row has been changed in the grid. |
SwipeItemShowing | 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. |
TapConfirmed | 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). |
ValidateCell | Occurs after a user changes a cell value in the in-place editor and attempts to select another cell. |
ValidationError | Occurs when a value in the in-place cell editor fails validation or when it cannot be saved to a data source. |
See Also