24 instantiations of DataGridViewDataErrorEventArgs
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1124
DataGridViewDataErrorEventArgs dgvdee =
new
(
1150
DataGridViewDataErrorEventArgs dgvdee =
new
(
1182
DataGridViewDataErrorEventArgs dgvdee =
new
(
1434
DataGridViewDataErrorEventArgs dgvdee =
new
(
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
3101
dgvdee2 =
new
(
3836
DataGridViewDataErrorEventArgs dgvdee =
new
(
3888
DataGridViewDataErrorEventArgs dgvdee =
new
(
3920
DataGridViewDataErrorEventArgs dgvdee =
new
(
9705
dgvdee =
new
(
9737
dgvdee =
new
(
19995
dgvdee =
new
(
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1629
DataGridViewDataErrorEventArgs dgvdee =
new
(
1666
DataGridViewDataErrorEventArgs dgvdee =
new
(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
930
DataGridViewDataErrorEventArgs dgvdee =
new
(
967
DataGridViewDataErrorEventArgs dgvdee =
new
(
1002
DataGridViewDataErrorEventArgs dgvdee =
new
(
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (6)
22
DataGridViewDataErrorEventArgs e =
new
(exception, columnIndex, rowIndex, context);
34
Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new
DataGridViewDataErrorEventArgs
(null, -2, 0, DataGridViewDataErrorContexts.Formatting));
40
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => new
DataGridViewDataErrorEventArgs
(null, 0, -2, DataGridViewDataErrorContexts.Formatting));
48
DataGridViewDataErrorEventArgs e =
new
(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = value };
55
DataGridViewDataErrorEventArgs e =
new
(null, 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = false };
62
DataGridViewDataErrorEventArgs e =
new
(null, 1, 2, DataGridViewDataErrorContexts.Formatting);
System\Windows\Forms\DataGridViewElementTests.cs (2)
256
yield return new object[] { new
DataGridViewDataErrorEventArgs
(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) };
270
DataGridViewDataErrorEventArgs eventArgs =
new
(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting);
35 references to DataGridViewDataErrorEventArgs
System.Windows.Forms (27)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1124
DataGridViewDataErrorEventArgs
dgvdee = new(
1150
DataGridViewDataErrorEventArgs
dgvdee = new(
1182
DataGridViewDataErrorEventArgs
dgvdee = new(
1434
DataGridViewDataErrorEventArgs
dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (16)
3046
DataGridViewDataErrorEventArgs
? dgvdee = CancelEditPrivate();
3080
DataGridViewDataErrorEventArgs
? dgvdee2 = null;
3166
private
DataGridViewDataErrorEventArgs
? CancelEditPrivate()
3722
DataGridViewDataErrorEventArgs
? dgvdee = CommitEdit(
3748
private
DataGridViewDataErrorEventArgs
? CommitEdit(
3836
DataGridViewDataErrorEventArgs
dgvdee = new(
3888
DataGridViewDataErrorEventArgs
dgvdee = new(
3920
DataGridViewDataErrorEventArgs
dgvdee = new(
3982
DataGridViewDataErrorEventArgs
? dgvdee = CommitEdit(
6173
DataGridViewDataErrorEventArgs
? dgvdee = CommitEdit(
9684
DataGridViewDataErrorEventArgs
? dgvdee = null;
9726
DataGridViewDataErrorEventArgs
? dgvdee = null;
14611
protected virtual void OnDataError(bool displayErrorDialogIfNoHandler,
DataGridViewDataErrorEventArgs
e)
14649
internal void OnDataErrorInternal(
DataGridViewDataErrorEventArgs
e) =>
19983
DataGridViewDataErrorEventArgs
? dgvdee = null;
21422
DataGridViewDataErrorEventArgs
? dgvdee = CommitEdit(
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1629
DataGridViewDataErrorEventArgs
dgvdee = new(
1666
DataGridViewDataErrorEventArgs
dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
930
DataGridViewDataErrorEventArgs
dgvdee = new(
967
DataGridViewDataErrorEventArgs
dgvdee = new(
1002
DataGridViewDataErrorEventArgs
dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewElement.cs (1)
98
protected void RaiseDataError(
DataGridViewDataErrorEventArgs
e)
System\Windows\Forms\Controls\DataGridView\DataGridViewEventHandlers.cs (1)
48
public delegate void DataGridViewDataErrorEventHandler(object? sender,
DataGridViewDataErrorEventArgs
e);
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (4)
22
DataGridViewDataErrorEventArgs
e = new(exception, columnIndex, rowIndex, context);
48
DataGridViewDataErrorEventArgs
e = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = value };
55
DataGridViewDataErrorEventArgs
e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = false };
62
DataGridViewDataErrorEventArgs
e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting);
System\Windows\Forms\DataGridViewElementTests.cs (4)
261
public void DataGridViewElement_RaiseDataError_Invoke_Nop(
DataGridViewDataErrorEventArgs
eventArgs)
270
DataGridViewDataErrorEventArgs
eventArgs = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting);
392
public new void RaiseDataError(
DataGridViewDataErrorEventArgs
e) => base.RaiseDataError(e);
409
public new void RaiseDataError(
DataGridViewDataErrorEventArgs
e) => base.RaiseDataError(e);