6 references to GetSize
System.Windows.Forms.Tests (6)
System\Windows\Forms\DataGridViewCellTests.cs (6)
4841
Assert.Equal(new Size(-1, -1), cell.
GetSize
(rowIndex));
4854
Assert.Equal(new Size(-1, -1), cell.
GetSize
(rowIndex));
4874
Assert.Equal(new Size(10, 11), cell.
GetSize
(rowIndex));
4893
Assert.Equal(new Size(10, Control.DefaultFont.Height + 9), cell.
GetSize
(rowIndex));
4919
Assert.Throws<InvalidOperationException>(() => cell.
GetSize
(-1));
4933
Assert.Throws<InvalidOperationException>(() => cell.
GetSize
(-1));