53 references to DataGridViewCellEventArgs
System.Windows.Forms (35)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (17)
5822
OnCellDoubleClick(new
DataGridViewCellEventArgs
(dgvcme.ColumnIndex, dgvcme.RowIndex));
5883
OnCellClick(new
DataGridViewCellEventArgs
(dgvcme.ColumnIndex, dgvcme.RowIndex));
5891
OnCellDoubleClick(new
DataGridViewCellEventArgs
(dgvcme.ColumnIndex, dgvcme.RowIndex));
6274
DataGridViewCellEventArgs dgvce =
new
(curColIndex, curRowIndex);
11722
OnCellEnter(new
DataGridViewCellEventArgs
(columnIndex, rowIndex));
11810
OnCellLeave(new
DataGridViewCellEventArgs
(columnIndex, rowIndex));
13039
OnCellValidated(new
DataGridViewCellEventArgs
(columnIndex, rowIndex));
14541
DataGridViewCellEventArgs dgvce =
new
(columnIndex, rowIndex);
14940
OnCellDoubleClick(new
DataGridViewCellEventArgs
(hti._col, hti._row));
15879
OnCellClick(new
DataGridViewCellEventArgs
(hti._col, hti._row));
16149
OnCellMouseLeave(
new
(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y));
17696
DataGridViewCellEventArgs dgvce =
new
(columnIndex, rowIndex);
18312
DataGridViewCellEventArgs dgvce =
new
(columnIndex, rowIndex);
18759
DataGridViewCellEventArgs dgvce =
new
(columnIndex, rowIndex);
29161
dgvce = new
DataGridViewCellEventArgs
(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y);
29165
dgvce = new
DataGridViewCellEventArgs
(htiToUse._col, htiToUse._row);
29188
DataGridViewCellEventArgs dgvce =
new
(_ptMouseEnteredCell.X, _ptMouseEnteredCell.Y);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (2)
483
RaiseCellClick(new
DataGridViewCellEventArgs
(ColumnIndex, rowIndex));
488
RaiseCellContentClick(new
DataGridViewCellEventArgs
(ColumnIndex, rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.cs (2)
46
dataGridView.OnCellClickInternal(new
DataGridViewCellEventArgs
(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex));
47
dataGridView.OnCellContentClickInternal(new
DataGridViewCellEventArgs
(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
3943
RaiseCellValueChanged(new
DataGridViewCellEventArgs
(ColumnIndex, rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewCellContextMenuStripNeededEventArgs.cs (2)
9
:
base
(columnIndex, rowIndex)
14
:
base
(columnIndex, rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellErrorTextNeededEventArgs.cs (1)
9
:
base
(columnIndex, rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellEventArgs.cs (1)
9
:
this
(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellToolTipTextNeededEventArgs.cs (1)
9
:
base
(columnIndex, rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (2)
830
RaiseCellClick(new
DataGridViewCellEventArgs
(ColumnIndex, rowIndex));
835
RaiseCellContentClick(new
DataGridViewCellEventArgs
(ColumnIndex, rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
1196
RaiseCellValueChanged(new
DataGridViewCellEventArgs
(ColumnIndex, -1));
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.DataGridViewImageCellAccessibleObject.cs (1)
51
dataGridView.OnCellContentClickInternal(new
DataGridViewCellEventArgs
(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (2)
733
RaiseCellClick(new
DataGridViewCellEventArgs
(ColumnIndex, rowIndex));
738
RaiseCellContentClick(new
DataGridViewCellEventArgs
(ColumnIndex, rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.DataGridViewLinkCellAccessibleObject.cs (1)
44
dataGridView.OnCellContentClickInternal(new
DataGridViewCellEventArgs
(dataGridViewCell.ColumnIndex, dataGridViewCell.RowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
1060
RaiseCellValueChanged(new
DataGridViewCellEventArgs
(-1, rowIndex));
System.Windows.Forms.Tests (18)
System\Windows\Forms\DataGridViewCellEventArgsTests.cs (3)
15
DataGridViewCellEventArgs e =
new
(columnIndex, rowIndex);
23
Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new
DataGridViewCellEventArgs
(-2, 0));
29
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => new
DataGridViewCellEventArgs
(0, -2));
System\Windows\Forms\DataGridViewCellTests.cs (6)
5708
yield return new object[] { new
DataGridViewCellEventArgs
(-1, -1) };
5709
yield return new object[] { new
DataGridViewCellEventArgs
(0, -1) };
5710
yield return new object[] { new
DataGridViewCellEventArgs
(-1, 0) };
5711
yield return new object[] { new
DataGridViewCellEventArgs
(0, 0) };
5712
yield return new object[] { new
DataGridViewCellEventArgs
(1, 0) };
5713
yield return new object[] { new
DataGridViewCellEventArgs
(0, 1) };
System\Windows\Forms\DataGridViewElementTests.cs (5)
30
yield return new object[] { new
DataGridViewCellEventArgs
(1, 2) };
54
DataGridViewCellEventArgs eventArgs =
new
(0, 0);
106
DataGridViewCellEventArgs eventArgs =
new
(0, 0);
158
DataGridViewCellEventArgs eventArgs =
new
(0, 0);
210
DataGridViewCellEventArgs eventArgs =
new
(0, 0);
System\Windows\Forms\DataGridViewTests.cs (4)
3609
DataGridViewCellEventArgs args =
new
(0, 0);
3614
args =
new
(0, 1);
3715
DataGridViewCellEventArgs cellEventArgs =
new
(0, 0);
3720
cellEventArgs =
new
(0, 1);