4 references to GetSize
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (4)
3155Assert.Equal(new Size(-1, -1), cell.GetSize(-1)); 3225Assert.Equal(new Size(10, 25), cell.GetSize(-1)); 3239Assert.Equal(new Size(20, 25), cell.GetSize(-1)); 3307Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.GetSize(rowIndex));