2 overrides of ParseFormattedValue
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1568
public override object?
ParseFormattedValue
(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
2373
public override object?
ParseFormattedValue
(
11 references to ParseFormattedValue
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
25376
val = dataGridViewCurrentCell.
ParseFormattedValue
(
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
248
_owner.Value = _owner.
ParseFormattedValue
(
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1661
return base.
ParseFormattedValue
(
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewCellTests.cs (8)
6154
Assert.Equal(expected, cell.
ParseFormattedValue
(formattedValue, cellStyle, formattedValueTypeConverter, valueTypeConverter));
6157
Assert.Equal(expected, cell.
ParseFormattedValue
(formattedValue, cellStyle, formattedValueTypeConverter, valueTypeConverter));
6164
Assert.Throws<ArgumentNullException>("cellStyle", () => cell.
ParseFormattedValue
(1, null, new Int32Converter(), new Int32Converter()));
6171
Assert.Throws<FormatException>(() => cell.
ParseFormattedValue
(1, new DataGridViewCellStyle(), new Int32Converter(), new Int32Converter()));
6178
Assert.Throws<FormatException>(() => cell.
ParseFormattedValue
(1, new DataGridViewCellStyle(), new Int32Converter(), new Int32Converter()));
6185
Assert.Throws<FormatException>(() => cell.
ParseFormattedValue
(1, new DataGridViewCellStyle(), new Int32Converter(), new Int32Converter()));
6204
Assert.Throws<FormatException>(() => cell.
ParseFormattedValue
(formattedValue, cellStyle, formattedValueTypeConverter, valueTypeConverter));
6217
Assert.Throws<ArgumentException>("formattedValue", () => cell.
ParseFormattedValue
(formattedValue, new DataGridViewCellStyle(), new Int32Converter(), new Int32Converter()));