DataGridViewColumn::ValueType Property
.NET Framework (current version)
Gets or sets the data type of the values in the column's cells.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This property is used when filtering or sorting the columns with respect to the contents of their cells.
The following code example demonstrates how to use the ValueType property in the initialization of a DataGridViewComboBoxColumn that contains Color values.
.NET Framework
Available since 2.0
Available since 2.0
Show: