8 writes to ColumnCount
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (4)
459
settings.
ColumnCount
= 0;
504
TableLayoutSettings.
ColumnCount
= DisplayedItems.Count + 1; // add an extra cell so it fills the remaining space
541
TableLayoutSettings.
ColumnCount
= 1;
549
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)
64
settings.
ColumnCount
= value;
70
settings.
ColumnCount
= value;
81
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)
314
Assert.Throws<NullReferenceException>(() => result.
ColumnCount
);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
21
Assert.Equal(0, settings.
ColumnCount
);
38
Assert.Throws<NullReferenceException>(() => settings.
ColumnCount
);
65
Assert.Equal(value, settings.
ColumnCount
);
71
Assert.Equal(value, settings.
ColumnCount
);
1852
Assert.Throws<NullReferenceException>(() => result.
ColumnCount
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3018
Assert.Equal(0, settings.
ColumnCount
);
System\Windows\Forms\ToolStripTests.cs (1)
4336
Assert.Equal(0, settings.
ColumnCount
);