3 references to GetSize
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (3)
3146Assert.Equal(new Size(-1, -1), cell.GetSize(-1)); 3201Assert.Equal(new Size(20, 11), cell.GetSize(0)); 3295Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.GetSize(rowIndex));