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