30 references to GetRowSpan
System.Windows.Forms (3)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
197
public int GetRowSpan(Control control) => _tableLayoutSettings.
GetRowSpan
(control);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (2)
306
Debug.Assert(
GetRowSpan
(element) == value, "row span should equal to the value we set");
529
controlInfo.RowSpan =
GetRowSpan
(c);
System.Windows.Forms.Tests (27)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (20)
405
Assert.Equal(1, settings.
GetRowSpan
(child));
414
Assert.Equal(1, settings.
GetRowSpan
(child));
422
Assert.Throws<ArgumentNullException>("control", () => settings.
GetRowSpan
(null));
430
Assert.Throws<ArgumentNullException>("control", () => settings.
GetRowSpan
(null));
438
Assert.Throws<NotSupportedException>(() => settings.
GetRowSpan
("control"));
446
Assert.Equal(1, settings.
GetRowSpan
("control"));
1409
Assert.Equal(value, settings.
GetRowSpan
(child));
1417
Assert.Equal(value, settings.
GetRowSpan
(child));
1454
Assert.Equal(value, settings.
GetRowSpan
(child));
1464
Assert.Equal(value, settings.
GetRowSpan
(child));
1491
Assert.Equal(value, settings.
GetRowSpan
(child));
1497
Assert.Equal(value, settings.
GetRowSpan
(child));
1524
Assert.Equal(value, settings.
GetRowSpan
(child));
1532
Assert.Equal(value, settings.
GetRowSpan
(child));
1552
Assert.Equal(1, settings.
GetRowSpan
(child));
1555
Assert.Equal(2, settings.
GetRowSpan
(child));
1566
Assert.Equal(1, settings.
GetRowSpan
(child));
1569
Assert.Equal(2, settings.
GetRowSpan
(child));
1606
Assert.Equal(1, settings.
GetRowSpan
("control"));
1803
Assert.Equal(1, result.
GetRowSpan
(controlWithName));
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (6)
68
Assert.Equal(1, settings.
GetRowSpan
("simple"));
73
Assert.Equal(2, settings.
GetRowSpan
("name"));
78
Assert.Equal(1, settings.
GetRowSpan
("invalidRow"));
83
Assert.Equal(1, settings.
GetRowSpan
("invalidRowSpan"));
88
Assert.Equal(1, settings.
GetRowSpan
("invalidColumn"));
93
Assert.Equal(1, settings.
GetRowSpan
("invalidColumnSpan"));
System\Windows\Forms\TableLayoutPanelTests.cs (1)
523
Assert.Equal(2, control.LayoutSettings.
GetRowSpan
(controlWithName));