7 references to GetErrorIconBounds
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
195
public Rectangle ErrorIconBounds =>
GetErrorIconBounds
(RowIndex);
3984
if (
GetErrorIconBounds
(e.RowIndex).Contains(e.X, e.Y))
System.Windows.Forms.Tests (5)
System\Windows\Forms\DataGridViewLinkCellTests.cs (5)
288
((Action)(() => _cell.
GetErrorIconBounds
(0))).Should().Throw<InvalidOperationException>();
296
Action action = () => _cell.
GetErrorIconBounds
(-1);
304
((Action)(() => _cell.
GetErrorIconBounds
(0))).Should().Throw<InvalidOperationException>();
312
Rectangle result = _cell.
GetErrorIconBounds
(0);
325
Rectangle result = _cell.
GetErrorIconBounds
(0);