DataGridView Events
A data grid view.
Name | Description |
---|---|
Auto |
Occurs each time an individual column is generated automatically. |
Batch |
Occurs when a batch of property changes have been committed by calling Batch |
Binding |
Occurs when the value of the Binding |
Child |
Raised whenever a child element is added to the element. Inherited from Element. |
Child |
Raised whenever a child element is removed from the element. Inherited from Element. |
Children |
Occurs when the order of this element’s children changes.
Inherited from Visual |
Complete |
Occurs after the drag-and-drop operation is completed. |
Create |
Occurs before the detail view or edit form is invoked. |
Custom |
Occurs before a data cell is painted. |
Custom |
Occurs before a data cell’s text is displayed. |
Custom |
Allows you to customize an exported cell. |
Custom |
Allows you to customize an exported column header. |
Custom |
Allows you to apply custom filter rules to grid rows. |
Custom |
Enables you to group data in a custom manner. |
Custom |
Allows you to customize text for group rows. |
Custom |
Allows you to customize an exported group row. |
Custom |
Allows you to customize an exported group summary. |
Custom |
Enables you to sort data in a custom manner. |
Custom |
Allows you to specify a custom rule to calculate data summaries. |
Custom |
Allows you to customize an exported total summary. |
Custom |
Enables you to populate unbound columns with data, and save changes that users made in unbound columns. |
Descendant |
Raised whenever a child element is added to the element’s subtree. Inherited from Element. |
Descendant |
Raised whenever a child element is removed from the elements subtree. Inherited from Element. |
Detail |
Occurs before the Data |
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. |
Editor |
Fires when a cell editor is about to be displayed and allows you to cancel the action. |
Editor |
Occurs when the Data |
Filtering |
Occurs before the filter form is invoked and allows you to customize its options. |
Focus |
Occurs when a focus change is requested.
Inherited from Visual |
Focused |
Occurs when this element is focused.
Inherited from Visual |
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. |
Measure |
Occurs when the current measure of an element has been invalidated.
Inherited from Visual |
Property |
Occurs when a property value changes.
Inherited from Bindable |
Property |
Occurs when a property value is changing.
Inherited from Bindable |
Pull |
Occurs when a user pulls the grid down to refresh its content. |
Scrolled |
Fires after a Data |
Selection |
Fires when the selected row is changed. |
Size |
Occurs when the size of an element changed.
Inherited from Visual |
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). |
Unfocused |
Occurs when this element is unfocused.
Inherited from Visual |
Validate |
Allows you to validate data item values before they are committed to the data source. |
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. |