This documentation is archived and is not being maintained.

IDataGridViewEditingControl Members

Defines common functionality for controls that are hosted within cells of a DataGridView.

The following tables list the members exposed by the IDataGridViewEditingControl type.

  Name Description
Public property EditingControlDataGridView Gets or sets the DataGridView that contains the cell.
Public property EditingControlFormattedValue Gets or sets the formatted value of the cell being modified by the editor.
Public property EditingControlRowIndex Gets or sets the index of the hosting cell's parent row.
Public property EditingControlValueChanged Gets or sets a value indicating whether the value of the editing control differs from the value of the hosting cell.
Public property EditingPanelCursor Gets the cursor used when the mouse pointer is over the DataGridView.EditingPanel but not over the editing control.
Public property RepositionEditingControlOnValueChange Gets or sets a value indicating whether the cell contents need to be repositioned whenever the value changes.

  Name Description
Public method ApplyCellStyleToEditingControl Changes the control's user interface (UI) to be consistent with the specified cell style.
Public method EditingControlWantsInputKey Determines whether the specified key is a regular input key that the editing control should process or a special key that the DataGridView should process.
Public method GetEditingControlFormattedValue Retrieves the formatted value of the cell.
Public method PrepareEditingControlForEdit Prepares the currently selected cell for editing.