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