24 instantiations of DataGridViewDataErrorEventArgs
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1124DataGridViewDataErrorEventArgs dgvdee = new( 1150DataGridViewDataErrorEventArgs dgvdee = new( 1182DataGridViewDataErrorEventArgs dgvdee = new( 1434DataGridViewDataErrorEventArgs dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
3098dgvdee2 = new( 3833DataGridViewDataErrorEventArgs dgvdee = new( 3885DataGridViewDataErrorEventArgs dgvdee = new( 3917DataGridViewDataErrorEventArgs dgvdee = new( 9702dgvdee = new( 9734dgvdee = new( 19992dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1629DataGridViewDataErrorEventArgs dgvdee = new( 1666DataGridViewDataErrorEventArgs dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
930DataGridViewDataErrorEventArgs dgvdee = new( 967DataGridViewDataErrorEventArgs dgvdee = new( 1002DataGridViewDataErrorEventArgs dgvdee = new(
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (6)
22DataGridViewDataErrorEventArgs e = new(exception, columnIndex, rowIndex, context); 34Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new DataGridViewDataErrorEventArgs(null, -2, 0, DataGridViewDataErrorContexts.Formatting)); 40Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => new DataGridViewDataErrorEventArgs(null, 0, -2, DataGridViewDataErrorContexts.Formatting)); 48DataGridViewDataErrorEventArgs e = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = value }; 55DataGridViewDataErrorEventArgs e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = false }; 62DataGridViewDataErrorEventArgs e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting);
System\Windows\Forms\DataGridViewElementTests.cs (2)
256yield return new object[] { new DataGridViewDataErrorEventArgs(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) }; 270DataGridViewDataErrorEventArgs 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)
1124DataGridViewDataErrorEventArgs dgvdee = new( 1150DataGridViewDataErrorEventArgs dgvdee = new( 1182DataGridViewDataErrorEventArgs dgvdee = new( 1434DataGridViewDataErrorEventArgs dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (16)
3043DataGridViewDataErrorEventArgs? dgvdee = CancelEditPrivate(); 3077DataGridViewDataErrorEventArgs? dgvdee2 = null; 3163private DataGridViewDataErrorEventArgs? CancelEditPrivate() 3719DataGridViewDataErrorEventArgs? dgvdee = CommitEdit( 3745private DataGridViewDataErrorEventArgs? CommitEdit( 3833DataGridViewDataErrorEventArgs dgvdee = new( 3885DataGridViewDataErrorEventArgs dgvdee = new( 3917DataGridViewDataErrorEventArgs dgvdee = new( 3979DataGridViewDataErrorEventArgs? dgvdee = CommitEdit( 6170DataGridViewDataErrorEventArgs? dgvdee = CommitEdit( 9681DataGridViewDataErrorEventArgs? dgvdee = null; 9723DataGridViewDataErrorEventArgs? dgvdee = null; 14608protected virtual void OnDataError(bool displayErrorDialogIfNoHandler, DataGridViewDataErrorEventArgs e) 14646internal void OnDataErrorInternal(DataGridViewDataErrorEventArgs e) => 19980DataGridViewDataErrorEventArgs? dgvdee = null; 21419DataGridViewDataErrorEventArgs? dgvdee = CommitEdit(
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1629DataGridViewDataErrorEventArgs dgvdee = new( 1666DataGridViewDataErrorEventArgs dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
930DataGridViewDataErrorEventArgs dgvdee = new( 967DataGridViewDataErrorEventArgs dgvdee = new( 1002DataGridViewDataErrorEventArgs dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewElement.cs (1)
98protected void RaiseDataError(DataGridViewDataErrorEventArgs e)
System\Windows\Forms\Controls\DataGridView\DataGridViewEventHandlers.cs (1)
48public delegate void DataGridViewDataErrorEventHandler(object? sender, DataGridViewDataErrorEventArgs e);
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (4)
22DataGridViewDataErrorEventArgs e = new(exception, columnIndex, rowIndex, context); 48DataGridViewDataErrorEventArgs e = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = value }; 55DataGridViewDataErrorEventArgs e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = false }; 62DataGridViewDataErrorEventArgs e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting);
System\Windows\Forms\DataGridViewElementTests.cs (4)
261public void DataGridViewElement_RaiseDataError_Invoke_Nop(DataGridViewDataErrorEventArgs eventArgs) 270DataGridViewDataErrorEventArgs eventArgs = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting); 392public new void RaiseDataError(DataGridViewDataErrorEventArgs e) => base.RaiseDataError(e); 409public new void RaiseDataError(DataGridViewDataErrorEventArgs e) => base.RaiseDataError(e);