DataGridViewCheckBoxCell.EditingCellFormattedValue Property

 

Gets or sets the formatted value of the control hosted by the cell when it is in edit mode.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual object EditingCellFormattedValue { get; set; }

Property Value

Type: System.Object

An Object representing the cell's value.

Exception Condition
ArgumentException

The FormattedValueType property value is null.

-or-

The assigned value is null or is not of the type indicated by the FormattedValueType property.

-or-

The assigned value is not of type Boolean nor of type CheckState.

InvalidOperationException

The FormattedValueType property value is null.

.NET Framework
Available since 2.0
Return to top
Show: