7 writes to RowCount
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
450
settings.
RowCount
= 0;
492
TableLayoutSettings.
RowCount
= 1;
545
TableLayoutSettings.
RowCount
= DisplayedItems.Count + 1; // add an extra cell so it fills the remaining space
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
147
set => _tableLayoutSettings.
RowCount
= value;
System.Windows.Forms.Tests (3)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
136
settings.
RowCount
= value;
142
settings.
RowCount
= value;
153
Assert.Throws<ArgumentOutOfRangeException>("value", () => settings.
RowCount
= -1);
10 references to RowCount
System.Windows.Forms (2)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
146
get => _tableLayoutSettings.
RowCount
;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
133
Debug.Assert(
RowCount
== value, "the max rows should equal to the value we set it to");
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (1)
314
Assert.Throws<NullReferenceException>(() => result.
RowCount
);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
25
Assert.Equal(0, settings.
RowCount
);
41
Assert.Throws<NullReferenceException>(() => settings.
RowCount
);
137
Assert.Equal(value, settings.
RowCount
);
143
Assert.Equal(value, settings.
RowCount
);
1851
Assert.Throws<NullReferenceException>(() => result.
RowCount
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3021
Assert.Equal(0, settings.
RowCount
);
System\Windows\Forms\ToolStripTests.cs (1)
4339
Assert.Equal(0, settings.
RowCount
);