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