12 references to ContentBounds
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataGridViewCellTests.cs (7)
23Assert.Equal(Rectangle.Empty, cell.ContentBounds); 59Assert.Equal(Rectangle.Empty, cell.ContentBounds); 68Assert.Equal(Rectangle.Empty, cell.ContentBounds); 77Assert.Equal(Rectangle.Empty, cell.ContentBounds); 105Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.ContentBounds); 3341Assert.Equal(Rectangle.Empty, cell.ContentBounds); 3378Assert.Equal(Rectangle.Empty, cell.ContentBounds);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (5)
22Assert.Equal(Rectangle.Empty, cell.ContentBounds); 2043Assert.Equal(Rectangle.Empty, cell.ContentBounds); 2080Assert.Equal(Rectangle.Empty, cell.ContentBounds); 2129Assert.Equal(Rectangle.Empty, cell.ContentBounds); 2166Assert.Equal(Rectangle.Empty, cell.ContentBounds);