10 references to GetCellPosition
System.Windows.Forms.Tests (10)
System\Windows\Forms\TableLayoutPanelTests.cs (10)
648Assert.Equal(new TableLayoutPanelCellPosition(-1, -1), control.GetCellPosition(child)); 655Assert.Throws<ArgumentNullException>("control", () => control.GetCellPosition(null)); 664Assert.Throws<ArgumentOutOfRangeException>("column", () => control.GetCellPosition(child)); 673Assert.Throws<ArgumentOutOfRangeException>("row", () => control.GetCellPosition(child)); 1563Assert.Equal(value, control.GetCellPosition(child)); 1571Assert.Equal(value, control.GetCellPosition(child)); 1615Assert.Equal(value, control.GetCellPosition(child)); 1625Assert.Equal(value, control.GetCellPosition(child)); 1645Assert.Equal(new TableLayoutPanelCellPosition(1, 1), control.GetCellPosition(child)); 1648Assert.Equal(new TableLayoutPanelCellPosition(2, 2), control.GetCellPosition(child));