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