8 writes to ColumnCount
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (4)
451settings.ColumnCount = 0; 496TableLayoutSettings.ColumnCount = DisplayedItems.Count + 1; // add an extra cell so it fills the remaining space 533TableLayoutSettings.ColumnCount = 1; 541TableLayoutSettings.ColumnCount = 1;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
116_tableLayoutSettings.ColumnCount = value;
System.Windows.Forms.Tests (3)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
62settings.ColumnCount = value; 68settings.ColumnCount = value; 79Assert.Throws<ArgumentOutOfRangeException>("value", () => settings.ColumnCount = -1);
10 references to ColumnCount
System.Windows.Forms (2)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
113get => _tableLayoutSettings.ColumnCount;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (1)
107Debug.Assert(ColumnCount == value, "the max columns should equal to the value we set it to");
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (1)
312Assert.Throws<NullReferenceException>(() => result.ColumnCount);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
19Assert.Equal(0, settings.ColumnCount); 36Assert.Throws<NullReferenceException>(() => settings.ColumnCount); 63Assert.Equal(value, settings.ColumnCount); 69Assert.Equal(value, settings.ColumnCount); 1850Assert.Throws<NullReferenceException>(() => result.ColumnCount);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3016Assert.Equal(0, settings.ColumnCount);
System\Windows\Forms\ToolStripTests.cs (1)
4334Assert.Equal(0, settings.ColumnCount);