7 references to GetErrorIconBounds
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
195public Rectangle ErrorIconBounds => GetErrorIconBounds(RowIndex); 3984if (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>(); 296Action action = () => _cell.GetErrorIconBounds(-1); 304((Action)(() => _cell.GetErrorIconBounds(0))).Should().Throw<InvalidOperationException>(); 312Rectangle result = _cell.GetErrorIconBounds(0); 325Rectangle result = _cell.GetErrorIconBounds(0);