164 instantiations of ColumnStyle
Accessibility_Core_App (7)
ContainerControls2.Designer.cs (7)
139
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
140
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
141
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 23F));
142
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 23F));
143
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 25F));
404
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
405
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
PresentationUI (24)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (12)
124
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
125
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 20F));
162
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 94));
163
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 335));
434
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
452
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
453
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
454
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
535
this._documentTable.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 103));
536
this._documentTable.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 283));
658
this._fileTable.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 103));
659
this._fileTable.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Absolute, 283));
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (3)
59
this._mainDialogTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
101
this._userInputtableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 100F));
102
this._userInputtableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (2)
97
_userInputTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
200
_mainDialogTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (2)
149
this._tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 71.5164F));
150
this._tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 28.48361F));
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (2)
50
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
86
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
186
_mainLayoutTable.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
MS\Internal\Documents\SigningDialog.Designer.cs (2)
73
_signatureControlInputLayoutTable.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
(System.Windows.Forms.SizeType.Percent, 50F));
240
_mainLayoutTable.ColumnStyles.Add(new System.Windows.Forms.
ColumnStyle
());
System.Windows.Forms (12)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (6)
196
_buttonTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 100F));
197
_buttonTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
198
_buttonTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
219
_pictureLabelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
220
_pictureLabelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 100F));
240
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
473
TableLayoutSettings.ColumnStyles.Add(new
ColumnStyle
());
538
TableLayoutSettings.ColumnStyles.Add(new
ColumnStyle
());
System\Windows\Forms\MDI\MDIWindowDialog.cs (2)
125
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
126
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
236
settings.ColumnStyles.Add(new
ColumnStyle
(type, width));
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
73
_tableLayoutPanel.ColumnStyles.Add(
new
(SizeType.Percent, 100F));
System.Windows.Forms.Design (68)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (7)
213
_radioButtonsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 25F));
214
_radioButtonsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 25F));
215
_radioButtonsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 25F));
216
_radioButtonsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 25F));
258
_okSaveTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
259
_okSaveTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
269
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
System\ComponentModel\Design\ByteViewer.cs (1)
63
ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 100F));
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (1)
95
_tableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (8)
298
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 14F));
299
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
300
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 250F));
331
_checkBoxesTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
332
_checkBoxesTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
333
_checkBoxesTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
365
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
366
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (9)
151
_sampleViewTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 423F));
159
_sampleViewGridsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 10F));
160
_sampleViewGridsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 30F));
161
_sampleViewGridsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 20F));
162
_sampleViewGridsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 30F));
163
_sampleViewGridsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 10F));
213
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
214
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
228
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (8)
537
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
538
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
539
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent));
557
_addRemoveTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
558
_addRemoveTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
589
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
590
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
591
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 20F));
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (2)
88
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
89
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
System\Windows\Forms\Design\MaskDesignerDialog.cs (6)
214
_maskTryItTable.ColumnStyles.Add(new
ColumnStyle
());
215
_maskTryItTable.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 100F));
216
_maskTryItTable.ColumnStyles.Add(new
ColumnStyle
());
248
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
263
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
264
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (5)
136
_outerPanel.ColumnStyles.Add(new
ColumnStyle
());
137
_outerPanel.ColumnStyles.Add(new
ColumnStyle
());
138
_outerPanel.ColumnStyles.Add(new
ColumnStyle
());
177
_innerPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.AutoSize));
178
_innerPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.AutoSize));
System\Windows\Forms\Design\StyleEditorForm.cs (11)
198
_addRemoveInsertTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 33F));
199
_addRemoveInsertTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 33F));
200
_addRemoveInsertTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 33F));
235
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
236
_okCancelTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
262
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 100F));
263
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.AutoSize));
279
_showTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
280
_showTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
331
_helperTextTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
332
_helperTextTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 100F));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
924
Table.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, DesignerUtils.s_minimumStyleSize));
1694
Table.ColumnStyles.Insert(index, new
ColumnStyle
(SizeType.Absolute, DesignerUtils.s_minimumStyleSize));
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (8)
233
_okCancelPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
234
_okCancelPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
252
_nodeControlPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
253
_nodeControlPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
306
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
307
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
308
_overarchingTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 100F));
321
_navigationButtonsTableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
());
System.Windows.Forms.Tests (43)
SerializableTypesTests.cs (3)
279
tableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50));
280
tableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50));
281
tableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50));
System\Windows\Forms\ColumnStyleTests.cs (8)
11
ColumnStyle style =
new
();
21
ColumnStyle style =
new
(sizeType);
34
ColumnStyle style =
new
(sizeType, width);
42
Assert.Throws<ArgumentOutOfRangeException>("value", () => new
ColumnStyle
(SizeType.AutoSize, -1));
51
ColumnStyle style =
new
()
69
ColumnStyle style =
new
();
99
ColumnStyle style =
new
();
138
ColumnStyle style =
new
();
System\Windows\Forms\ControlTests.cs (3)
865
table.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
866
table.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
867
table.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1671
ColumnStyle columnStyle =
new
(SizeType.Percent, 1);
1707
ColumnStyle columnStyle =
new
(SizeType.Percent, 1);
1774
ColumnStyle columnStyle =
new
(SizeType.Percent, 1);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (3)
176
settings.ColumnStyles.Add(new
ColumnStyle
(SizeType.AutoSize, 1));
177
settings.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 2));
271
settings.RowStyles.Add(new
ColumnStyle
());
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (9)
15
ColumnStyle style =
new
();
39
ColumnStyle style =
new
();
50
collection.Add(new
ColumnStyle
());
52
ColumnStyle style =
new
();
74
ColumnStyle style =
new
();
89
ColumnStyle style =
new
();
92
Assert.False(collection.Contains(new
ColumnStyle
()));
102
ColumnStyle style =
new
();
105
Assert.Equal(-1, collection.IndexOf(new
ColumnStyle
()));
System\Windows\Forms\TableLayoutPanelTests.cs (5)
446
ColumnStyle columnStyle =
new
(SizeType.Percent, 1);
482
ColumnStyle columnStyle =
new
(SizeType.Percent, 1);
546
settings.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 1));
1517
control.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 10));
1518
control.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 10));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (2)
27
ColumnStyle style =
new
();
64
collection.Add(new
ColumnStyle
());
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (2)
262
Assert.False(collection.Contains(new
ColumnStyle
()));
276
Assert.Equal(-1, collection.IndexOf(new
ColumnStyle
()));
System\Windows\Forms\TableLayoutStyleTests.cs (5)
44
ColumnStyle style =
new
();
76
ColumnStyle style =
new
();
129
yield return new object[] { new
ColumnStyle
(SizeType.AutoSize, 1), typeof(ColumnStyle).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() };
130
yield return new object[] { new
ColumnStyle
(SizeType.Absolute, 1), typeof(ColumnStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } };
131
yield return new object[] { new
ColumnStyle
(SizeType.Percent, 1), typeof(ColumnStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } };
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
949
tableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.AutoSize));
WinFormsControlsTest (9)
Buttons.cs (3)
33
table.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
34
table.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
35
table.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
DragDrop.cs (1)
428
tableLayoutPanel.ColumnStyles.Add(new
ColumnStyle
(SizeType.AutoSize));
DragDrop.Designer.cs (5)
59
tableLayoutPanel1.ColumnStyles.Add(new
ColumnStyle
(SizeType.Absolute, 115F));
60
tableLayoutPanel1.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 55.55556F));
61
tableLayoutPanel1.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 44.44445F));
163
tableLayoutPanel2.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
164
tableLayoutPanel2.ColumnStyles.Add(new
ColumnStyle
(SizeType.Percent, 50F));
41 references to ColumnStyle
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
481
ColumnStyle
colStyle = TableLayoutSettings.ColumnStyles[i];
System\Windows\Forms\Layout\TableLayout.ContainerInfo.cs (1)
341
foreach (
ColumnStyle
style in _colStyles)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutColumnStyleCollection.cs (7)
19
public int Add(
ColumnStyle
columnStyle) => ((IList)this).Add(columnStyle);
21
public void Insert(int index,
ColumnStyle
columnStyle) => ((IList)this).Insert(index, columnStyle);
23
public new
ColumnStyle
this[int index]
25
get => (
ColumnStyle
)((IList)this)[index]!;
29
public void Remove(
ColumnStyle
columnStyle) => ((IList)this).Remove(columnStyle);
31
public bool Contains(
ColumnStyle
columnStyle) => ((IList)this).Contains(columnStyle);
33
public int IndexOf(
ColumnStyle
columnStyle) => ((IList)this).IndexOf(columnStyle);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
521
foreach (
ColumnStyle
cs in ColumnStyles)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
97
foreach (
ColumnStyle
colStyle in tableLayoutSettings.ColumnStyles)
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\TableLayoutPanelResizeGlyph.cs (1)
26
_type = style is
ColumnStyle
? TableLayoutResizeType.Column : TableLayoutResizeType.Row;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
594
ColumnStyle
colStyle = _tableLayoutPanel.ColumnStyles[i];
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (2)
46
ColumnStyle
columnStyle = Assert.IsType<
ColumnStyle
>(Assert.Single(control.ColumnStyles));
System.Windows.Forms.Tests (26)
System\Windows\Forms\ColumnStyleTests.cs (7)
11
ColumnStyle
style = new();
21
ColumnStyle
style = new(sizeType);
34
ColumnStyle
style = new(sizeType, width);
51
ColumnStyle
style = new()
69
ColumnStyle
style = new();
99
ColumnStyle
style = new();
138
ColumnStyle
style = new();
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
1671
ColumnStyle
columnStyle = new(SizeType.Percent, 1);
1707
ColumnStyle
columnStyle = new(SizeType.Percent, 1);
1774
ColumnStyle
columnStyle = new(SizeType.Percent, 1);
1795
Assert.Equal(columnStyle.SizeType, ((
ColumnStyle
)Assert.Single(result.ColumnStyles)).SizeType);
1796
Assert.Equal(columnStyle.Width, ((
ColumnStyle
)Assert.Single(result.ColumnStyles)).Width);
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (6)
15
ColumnStyle
style = new();
39
ColumnStyle
style = new();
52
ColumnStyle
style = new();
74
ColumnStyle
style = new();
89
ColumnStyle
style = new();
102
ColumnStyle
style = new();
System\Windows\Forms\TableLayoutPanelTests.cs (2)
446
ColumnStyle
columnStyle = new(SizeType.Percent, 1);
482
ColumnStyle
columnStyle = new(SizeType.Percent, 1);
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (1)
27
ColumnStyle
style = new();
System\Windows\Forms\TableLayoutStyleTests.cs (5)
44
ColumnStyle
style = new();
76
ColumnStyle
style = new();
129
yield return new object[] { new ColumnStyle(SizeType.AutoSize, 1), typeof(
ColumnStyle
).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() };
130
yield return new object[] { new ColumnStyle(SizeType.Absolute, 1), typeof(
ColumnStyle
).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } };
131
yield return new object[] { new ColumnStyle(SizeType.Percent, 1), typeof(
ColumnStyle
).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } };