DataGridViewCheckBoxCell::GetEditingCellFormattedValue Method (DataGridViewDataErrorContexts)
.NET Framework (current version)
Gets the formatted value of the cell while it is in edit mode.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: virtual Object^ GetEditingCellFormattedValue( DataGridViewDataErrorContexts context )
Parameters
- context
-
Type:
System.Windows.Forms::DataGridViewDataErrorContexts
A bitwise combination of DataGridViewDataErrorContexts values that describes the context in which any formatting error occurs.
| Exception | Condition |
|---|---|
| InvalidOperationException | The FormattedValueType property value is null. |
When context includes the ClipboardContent value, this method returns an Object that you can cast to a String representation of the value. Otherwise, this method returns a Boolean or a CheckState value, depending on the value of the FormattedValueType property.
.NET Framework
Available since 2.0
Available since 2.0
Show: