System.Windows.Forms.DataGridViewCell.ValueType Property

Gets or sets the data type of the values in the cell.

Syntax

[System.ComponentModel.Browsable(false)]
public virtual Type ValueType { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the DataGridViewCell.ValueType property for the cell has not been set, the DataGridViewColumn.ValueType property for the owning column is used, if it exists.

The DataGridViewCell.Value property is the actual data object contained by the cell, whereas the DataGridViewCell.FormattedValue property is the formatted representation of the data. The DataGridViewCell.ValueType and DataGridViewCell.FormattedValueType properties correspond to the data types of these values, respectively.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0