MccGridView Events |
The MccGridView type exposes the following members.
| Name | Description | |
|---|---|---|
| AllowUserToAddRowsChanged | Occurs when the value of the AllowUserToAddRows property changes. (Inherited from DataGridView.) | |
| AllowUserToDeleteRowsChanged | Occurs when the value of the AllowUserToDeleteRowsChanged property changes. (Inherited from DataGridView.) | |
| AllowUserToOrderColumnsChanged | Occurs when the value of the AllowUserToOrderColumns property changes. (Inherited from DataGridView.) | |
| AllowUserToResizeColumnsChanged | Occurs when the value of the AllowUserToResizeColumns property changes. (Inherited from DataGridView.) | |
| AllowUserToResizeRowsChanged | Occurs when the value of the AllowUserToResizeRows property changes. (Inherited from DataGridView.) | |
| AlternatingRowsDefaultCellStyleChanged | Occurs when the value of the AlternatingRowsDefaultCellStyle property changes. (Inherited from DataGridView.) | |
| AutoGenerateColumnsChanged | Occurs when the value of the AutoGenerateColumnsChanged property changes. (Inherited from DataGridView.) | |
| AutoSizeColumnModeChanged | Occurs when the value of the AutoSizeMode property of a column changes. (Inherited from DataGridView.) | |
| AutoSizeColumnsModeChanged | Occurs when the value of the AutoSizeColumnsMode property changes. (Inherited from DataGridView.) | |
| AutoSizeRowsModeChanged | Occurs when the value of the DataGridViewAutoSizeRowsMode property changes. (Inherited from DataGridView.) | |
| BackColorChanged | Occurs when the value of the BackColor property changes. (Inherited from Control.) | |
| BackgroundColorChanged | Occurs when the value of the BackgroundColor property changes. (Inherited from DataGridView.) | |
| BackgroundImageChanged | Occurs when the value of the BackgroundImage property changes. (Inherited from Control.) | |
| BackgroundImageLayoutChanged | Occurs when the BackgroundImageLayout property changes. (Inherited from Control.) | |
| BindingContextChanged | Occurs when the value of the BindingContext property changes. (Inherited from Control.) | |
| BorderStyleChanged | Occurs when the value of the BorderStyle property changes. (Inherited from DataGridView.) | |
| CancelRowEdit | Occurs when the VirtualMode property of a DataGridView control is true and the cancels edits in a row. (Inherited from DataGridView.) | |
| CausesValidationChanged | Occurs when the value of the CausesValidation property changes. (Inherited from Control.) | |
| CellBeginEdit | Occurs when edit mode starts for the selected cell. (Inherited from DataGridView.) | |
| CellBorderStyleChanged | Occurs when the border style of a cell changes. (Inherited from DataGridView.) | |
| CellClick | Occurs when any part of a cell is clicked. (Inherited from DataGridView.) | |
| CellContentClick | Occurs when the content within a cell is clicked. (Inherited from DataGridView.) | |
| CellContentDoubleClick | Occurs when the user double-clicks a cell's contents. (Inherited from DataGridView.) | |
| CellContextMenuStripChanged | Occurs when the ContextMenuStrip property changes. (Inherited from DataGridView.) | |
| CellContextMenuStripNeeded | Occurs when a cell's shortcut menu is needed. (Inherited from DataGridView.) | |
| CellDoubleClick | Occurs when the user double-clicks anywhere in a cell. (Inherited from DataGridView.) | |
| CellEndEdit | Occurs when edit mode stops for the currently selected cell. (Inherited from DataGridView.) | |
| CellEnter | Occurs when the current cell changes in the DataGridView control or when the control receives input focus. (Inherited from DataGridView.) | |
| CellErrorTextChanged | Occurs when the value of the ErrorText property of a cell changes. (Inherited from DataGridView.) | |
| CellErrorTextNeeded | Occurs when a cell's error text is needed. (Inherited from DataGridView.) | |
| CellFormatting | Occurs when the contents of a cell need to be formatted for display. (Inherited from DataGridView.) | |
| CellLeave | Occurs when a cell loses input focus and is no longer the current cell. (Inherited from DataGridView.) | |
| CellMouseClick | Occurs whenever the user clicks anywhere on a cell with the mouse. (Inherited from DataGridView.) | |
| CellMouseDoubleClick | Occurs when a cell within the DataGridView is double-clicked. (Inherited from DataGridView.) | |
| CellMouseDown | Occurs when the user presses a mouse button while the mouse pointer is within the boundaries of a cell. (Inherited from DataGridView.) | |
| CellMouseEnter | Occurs when the mouse pointer enters a cell. (Inherited from DataGridView.) | |
| CellMouseLeave | Occurs when the mouse pointer leaves a cell. (Inherited from DataGridView.) | |
| CellMouseMove | Occurs when the mouse pointer moves over the DataGridView control. (Inherited from DataGridView.) | |
| CellMouseUp | Occurs when the user releases a mouse button while over a cell. (Inherited from DataGridView.) | |
| CellPainting | Occurs when a cell needs to be drawn. (Inherited from DataGridView.) | |
| CellParsing | Occurs when a cell leaves edit mode if the cell value has been modified. (Inherited from DataGridView.) | |
| CellStateChanged | Occurs when a cell state changes, such as when the cell loses or gains focus. (Inherited from DataGridView.) | |
| CellStyleChanged | Occurs when the Style property of a DataGridViewCell changes. (Inherited from DataGridView.) | |
| CellStyleContentChanged | Occurs when one of the values of a cell style changes. (Inherited from DataGridView.) | |
| CellToolTipTextChanged | Occurs when the ToolTipText property value changes for a cell in the DataGridView. (Inherited from DataGridView.) | |
| CellToolTipTextNeeded | Occurs when a cell's ToolTip text is needed. (Inherited from DataGridView.) | |
| CellValidated | Occurs after the cell has finished validating. (Inherited from DataGridView.) | |
| CellValidating | Occurs when a cell loses input focus, enabling content validation. (Inherited from DataGridView.) | |
| CellValueChanged | Occurs when the value of a cell changes. (Inherited from DataGridView.) | |
| CellValueNeeded | Occurs when the VirtualMode property of the DataGridView control is true and the DataGridView requires a value for a cell in order to format and display the cell. (Inherited from DataGridView.) | |
| CellValuePushed | Occurs when the VirtualMode property of the DataGridView control is true and a cell value has changed and requires storage in the underlying data source. (Inherited from DataGridView.) | |
| ChangeUICues | Occurs when the focus or keyboard user interface (UI) cues change. (Inherited from Control.) | |
| Click | Occurs when the control is clicked. (Inherited from Control.) | |
| ClientSizeChanged | Occurs when the value of the ClientSize property changes. (Inherited from Control.) | |
| ColumnAdded | Occurs when a column is added to the control. (Inherited from DataGridView.) | |
| ColumnContextMenuStripChanged | Occurs when the ContextMenuStrip property of a column changes. (Inherited from DataGridView.) | |
| ColumnDataPropertyNameChanged | Occurs when the value of the DataPropertyName property for a column changes. (Inherited from DataGridView.) | |
| ColumnDefaultCellStyleChanged | Occurs when the value of the DefaultCellStyle property for a column changes. (Inherited from DataGridView.) | |
| ColumnDisplayIndexChanged | Occurs when the value the DisplayIndex property for a column changes. (Inherited from DataGridView.) | |
| ColumnDividerDoubleClick | Occurs when the user double-clicks a divider between two columns. (Inherited from DataGridView.) | |
| ColumnDividerWidthChanged | Occurs when the DividerWidth property changes. (Inherited from DataGridView.) | |
| ColumnHeaderCellChanged | Occurs when the contents of a column header cell change. (Inherited from DataGridView.) | |
| ColumnHeaderMouseClick | Occurs when the user clicks a column header. (Inherited from DataGridView.) | |
| ColumnHeaderMouseDoubleClick | Occurs when a column header is double-clicked. (Inherited from DataGridView.) | |
| ColumnHeadersBorderStyleChanged | Occurs when the ColumnHeadersBorderStyle property changes. (Inherited from DataGridView.) | |
| ColumnHeadersDefaultCellStyleChanged | Occurs when the value of the ColumnHeadersDefaultCellStyle property changes. (Inherited from DataGridView.) | |
| ColumnHeadersHeightChanged | Occurs when the value of the ColumnHeadersHeight property changes. (Inherited from DataGridView.) | |
| ColumnHeadersHeightSizeModeChanged | Occurs when the value of the ColumnHeadersHeightSizeMode property changes. (Inherited from DataGridView.) | |
| ColumnMinimumWidthChanged | Occurs when the value of the MinimumWidth property for a column changes. (Inherited from DataGridView.) | |
| ColumnNameChanged | Occurs when the value of the Name property for a column changes. (Inherited from DataGridView.) | |
| ColumnRemoved | Occurs when a column is removed from the control. (Inherited from DataGridView.) | |
| ColumnSortModeChanged | Occurs when the value of the SortMode property for a column changes. (Inherited from DataGridView.) | |
| ColumnStateChanged | Occurs when a column changes state, such as gaining or losing focus. (Inherited from DataGridView.) | |
| ColumnToolTipTextChanged | Occurs when the ToolTipText property value changes for a column in the DataGridView. (Inherited from DataGridView.) | |
| ColumnWidthChanged | Occurs when the value of the Width property for a column changes. (Inherited from DataGridView.) | |
| ContextMenuChanged | Occurs when the value of the ContextMenu property changes. (Inherited from Control.) | |
| ContextMenuStripChanged | Occurs when the value of the ContextMenuStrip property changes. (Inherited from Control.) | |
| ControlAdded | Occurs when a new control is added to the ControlControlCollection. (Inherited from Control.) | |
| ControlRemoved | Occurs when a control is removed from the ControlControlCollection. (Inherited from Control.) | |
| CurrentCellChanged | Occurs when the CurrentCell property changes. (Inherited from DataGridView.) | |
| CurrentCellDirtyStateChanged | Occurs when the state of a cell changes in relation to a change in its contents. (Inherited from DataGridView.) | |
| CursorChanged | Occurs when the value of the Cursor property changes. (Inherited from Control.) | |
| DataBindingComplete | Occurs after a data-binding operation has finished. (Inherited from DataGridView.) | |
| DataError | Occurs when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails. (Inherited from DataGridView.) | |
| DataMemberChanged | Occurs when value of the DataMember property changes. (Inherited from DataGridView.) | |
| DataSourceChanged | Occurs when the value of the DataSource property changes. (Inherited from DataGridView.) | |
| DefaultCellStyleChanged | Occurs when the value of the DefaultCellStyle property changes. (Inherited from DataGridView.) | |
| DefaultValuesNeeded | Occurs when the user enters the row for new records so that it can be populated with default values. (Inherited from DataGridView.) | |
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) | |
| DockChanged | Occurs when the value of the Dock property changes. (Inherited from Control.) | |
| DoubleClick | Occurs when the control is double-clicked. (Inherited from Control.) | |
| DragDrop | Occurs when a drag-and-drop operation is completed. (Inherited from Control.) | |
| DragEnter | Occurs when an object is dragged into the control's bounds. (Inherited from Control.) | |
| DragLeave | Occurs when an object is dragged out of the control's bounds. (Inherited from Control.) | |
| DragOver | Occurs when an object is dragged over the control's bounds. (Inherited from Control.) | |
| EditingControlShowing | Occurs when a control for editing a cell is showing. (Inherited from DataGridView.) | |
| EditModeChanged | Occurs when the value of the EditMode property changes. (Inherited from DataGridView.) | |
| EnabledChanged | Occurs when the Enabled property value has changed. (Inherited from Control.) | |
| Enter | Occurs when the control is entered. (Inherited from Control.) | |
| FontChanged | Occurs when the Font property value changes. (Inherited from DataGridView.) | |
| ForeColorChanged | Occurs when the ForeColor property value changes. (Inherited from DataGridView.) | |
| GiveFeedback | Occurs during a drag operation. (Inherited from Control.) | |
| GotFocus | Occurs when the control receives focus. (Inherited from Control.) | |
| GridColorChanged | Occurs when the value of the GridColor property changes. (Inherited from DataGridView.) | |
| HandleCreated | Occurs when a handle is created for the control. (Inherited from Control.) | |
| HandleDestroyed | Occurs when the control's handle is in the process of being destroyed. (Inherited from Control.) | |
| HelpRequested | Occurs when the user requests help for a control. (Inherited from Control.) | |
| ImeModeChanged | Occurs when the ImeMode property has changed. (Inherited from Control.) | |
| Invalidated | Occurs when a control's display requires redrawing. (Inherited from Control.) | |
| KeyDown | Occurs when a key is pressed while the control has focus. (Inherited from Control.) | |
| KeyPress | Occurs when a character. space or backspace key is pressed while the control has focus. (Inherited from Control.) | |
| KeyUp | Occurs when a key is released while the control has focus. (Inherited from Control.) | |
| Layout | Occurs when a control should reposition its child controls. (Inherited from Control.) | |
| Leave | Occurs when the input focus leaves the control. (Inherited from Control.) | |
| LocationChanged | Occurs when the Location property value has changed. (Inherited from Control.) | |
| LostFocus | Occurs when the control loses focus. (Inherited from Control.) | |
| MarginChanged | Occurs when the control's margin changes. (Inherited from Control.) | |
| MouseCaptureChanged | Occurs when the control loses mouse capture. (Inherited from Control.) | |
| MouseClick | Occurs when the control is clicked by the mouse. (Inherited from Control.) | |
| MouseDoubleClick | Occurs when the control is double clicked by the mouse. (Inherited from Control.) | |
| MouseDown | Occurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from Control.) | |
| MouseEnter | Occurs when the mouse pointer enters the control. (Inherited from Control.) | |
| MouseHover | Occurs when the mouse pointer rests on the control. (Inherited from Control.) | |
| MouseLeave | Occurs when the mouse pointer leaves the control. (Inherited from Control.) | |
| MouseMove | Occurs when the mouse pointer is moved over the control. (Inherited from Control.) | |
| MouseUp | Occurs when the mouse pointer is over the control and a mouse button is released. (Inherited from Control.) | |
| MouseWheel | Occurs when the mouse wheel moves while the control has focus. (Inherited from Control.) | |
| Move | Occurs when the control is moved. (Inherited from Control.) | |
| MultiSelectChanged | Occurs when the value of the MultiSelect property changes. (Inherited from DataGridView.) | |
| NewRowNeeded | Occurs when the VirtualMode property of the DataGridView is true and the user navigates to the new row at the bottom of the DataGridView. (Inherited from DataGridView.) | |
| PaddingChanged | Occurs when the control's padding changes. (Inherited from Control.) | |
| Paint | Occurs when the control is redrawn. (Inherited from Control.) | |
| ParentChanged | Occurs when the Parent property value changes. (Inherited from Control.) | |
| PreviewKeyDown | Occurs before the KeyDown event when a key is pressed while focus is on this control. (Inherited from Control.) | |
| QueryAccessibilityHelp | Occurs when AccessibleObject is providing help to accessibility applications. (Inherited from Control.) | |
| QueryContinueDrag | Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. (Inherited from Control.) | |
| ReadOnlyChanged | Occurs when the ReadOnly property changes. (Inherited from DataGridView.) | |
| RegionChanged | Occurs when the value of the Region property changes. (Inherited from Control.) | |
| Resize | Occurs when the control is resized. (Inherited from Control.) | |
| RightToLeftChanged | Occurs when the RightToLeft property value changes. (Inherited from Control.) | |
| RowContextMenuStripChanged | Occurs when the ContextMenuStrip property changes. (Inherited from DataGridView.) | |
| RowContextMenuStripNeeded | Occurs when a row's shortcut menu is needed. (Inherited from DataGridView.) | |
| RowDefaultCellStyleChanged | Occurs when the value of the DefaultCellStyle property for a row changes. (Inherited from DataGridView.) | |
| RowDirtyStateNeeded | Occurs when the VirtualMode property of the DataGridView control is true and the DataGridView needs to determine whether the current row has uncommitted changes. (Inherited from DataGridView.) | |
| RowDividerDoubleClick | Occurs when the user double-clicks the divider between two rows. (Inherited from DataGridView.) | |
| RowDividerHeightChanged | Occurs when the DividerHeight property changes. (Inherited from DataGridView.) | |
| RowEnter | Occurs when a row receives input focus but before it becomes the current row. (Inherited from DataGridView.) | |
| RowErrorTextChanged | Occurs when the ErrorText property of a row changes. (Inherited from DataGridView.) | |
| RowErrorTextNeeded | Occurs when a row's error text is needed. (Inherited from DataGridView.) | |
| RowHeaderCellChanged | Occurs when the user changes the contents of a row header cell. (Inherited from DataGridView.) | |
| RowHeaderMouseClick | Occurs when the user clicks within the boundaries of a row header. (Inherited from DataGridView.) | |
| RowHeaderMouseDoubleClick | Occurs when a row header is double-clicked. (Inherited from DataGridView.) | |
| RowHeadersBorderStyleChanged | Occurs when the RowHeadersBorderStyle property changes. (Inherited from DataGridView.) | |
| RowHeadersDefaultCellStyleChanged | Occurs when the value of the RowHeadersDefaultCellStyle property changes. (Inherited from DataGridView.) | |
| RowHeadersWidthChanged | Occurs when value of the RowHeadersWidth property changes. (Inherited from DataGridView.) | |
| RowHeadersWidthSizeModeChanged | Occurs when the value of the RowHeadersWidthSizeMode property changes. (Inherited from DataGridView.) | |
| RowHeightChanged | Occurs when the value of the Height property for a row changes. (Inherited from DataGridView.) | |
| RowHeightInfoNeeded | Occurs when information about row height is requested. (Inherited from DataGridView.) | |
| RowHeightInfoPushed | Occurs when the user changes the height of a row. (Inherited from DataGridView.) | |
| RowLeave | Occurs when a row loses input focus and is no longer the current row. (Inherited from DataGridView.) | |
| RowMinimumHeightChanged | Occurs when the value of the MinimumHeight property for a row changes. (Inherited from DataGridView.) | |
| RowPostPaint | Occurs after a DataGridViewRow is painted. (Inherited from DataGridView.) | |
| RowPrePaint | Occurs before a DataGridViewRow is painted (Inherited from DataGridView.) | |
| RowsAdded | Occurs after a new row is added to the DataGridView. (Inherited from DataGridView.) | |
| RowsDefaultCellStyleChanged | Occurs when the value of the RowsDefaultCellStyle property changes. (Inherited from DataGridView.) | |
| RowsRemoved | Occurs when a row or rows are deleted from the DataGridView. (Inherited from DataGridView.) | |
| RowStateChanged | Occurs when a row changes state, such as losing or gaining input focus. (Inherited from DataGridView.) | |
| RowUnshared | Occurs when a row's state changes from shared to unshared. (Inherited from DataGridView.) | |
| RowValidated | Occurs after a row has finished validating. (Inherited from DataGridView.) | |
| RowValidating | Occurs when a row is validating. (Inherited from DataGridView.) | |
| Scroll | Occurs when the user scrolls through the control contents. (Inherited from DataGridView.) | |
| SelectionChanged | Occurs when the current selection changes. (Inherited from DataGridView.) | |
| SizeChanged | Occurs when the Size property value changes. (Inherited from Control.) | |
| SortCompare | Occurs when the DataGridView compares two cell values to perform a sort operation. (Inherited from DataGridView.) | |
| Sorted | Occurs when the DataGridView control completes a sorting operation. (Inherited from DataGridView.) | |
| StyleChanged | Occurs when the control style changes. (Inherited from Control.) | |
| SystemColorsChanged | Occurs when the system colors change. (Inherited from Control.) | |
| TabIndexChanged | Occurs when the TabIndex property value changes. (Inherited from Control.) | |
| TabStopChanged | Occurs when the TabStop property value changes. (Inherited from Control.) | |
| TextChanged | Occurs when the Text property value changes. (Inherited from Control.) | |
| UserAddedRow | Occurs when the user has finished adding a row to the DataGridView control. (Inherited from DataGridView.) | |
| UserDeletedRow | Occurs when the user has finished deleting a row from the DataGridView control. (Inherited from DataGridView.) | |
| UserDeletingRow | Occurs when the user deletes a row from the DataGridView control. (Inherited from DataGridView.) | |
| Validated | Occurs when the control is finished validating. (Inherited from Control.) | |
| Validating | Occurs when the control is validating. (Inherited from Control.) | |
| VisibleChanged | Occurs when the Visible property value changes. (Inherited from Control.) |