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