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