7 writes to RowCount
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
458settings.RowCount = 0; 500TableLayoutSettings.RowCount = 1; 553TableLayoutSettings.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)
138settings.RowCount = value; 144settings.RowCount = value; 155Assert.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)
316Assert.Throws<NullReferenceException>(() => result.RowCount);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
27Assert.Equal(0, settings.RowCount); 43Assert.Throws<NullReferenceException>(() => settings.RowCount); 139Assert.Equal(value, settings.RowCount); 145Assert.Equal(value, settings.RowCount); 1853Assert.Throws<NullReferenceException>(() => result.RowCount);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3023Assert.Equal(0, settings.RowCount);
System\Windows\Forms\ToolStripTests.cs (1)
4341Assert.Equal(0, settings.RowCount);