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