Cells
that support advanced editing functionality typically use a hosted control that
is derived from a Windows Forms control. These controls also implement the
IDataGridViewEditingControl interface.
|
The
DataGridView Editing Control Class diagram

|
Classes
that implement Editing Controls

|
The following editing controls
are provided with the DataGridView control:
The following table illustrates
the relationship among cell types, column types, and editing controls.
|
Cell type
|
Hosted control
|
Column type
|
|
DataGridViewButtonCell
|
n/a
|
DataGridViewButtonColumn
|
|
DataGridViewCheckBoxCell
|
n/a
|
DataGridViewCheckBoxColumn
|
|
DataGridViewComboBoxCell
|
DataGridViewComboBoxEditingControl
|
DataGridViewComboBoxColumn
|
|
DataGridViewImageCell
|
n/a
|
DataGridViewImageColumn
|
|
DataGridViewLinkCell
|
n/a
|
DataGridViewLinkColumn
|
|
DataGridViewTextBoxCell
|
DataGridViewTextBoxEditingControl
|
DataGridViewTextBoxColumn
|
|