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