152 references to ColumnStyles
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 (10)
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\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\TableLayoutPanel.cs (1)
521
foreach (ColumnStyle cs in
ColumnStyles
)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (1)
73
_tableLayoutPanel.
ColumnStyles
.Add(new(SizeType.Percent, 100F));
System.Windows.Forms.Design (89)
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 (17)
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));
530
if (_tableLayoutPanel.
ColumnStyles
.Count > columnWidths.Length)
532
int diff = _tableLayoutPanel.
ColumnStyles
.Count - columnWidths.Length;
535
_tableLayoutPanel.
ColumnStyles
.RemoveAt(_tableLayoutPanel.
ColumnStyles
.Count - 1);
579
int styleCount = _isRowCollection ? _tableLayoutPanel.RowStyles.Count : _tableLayoutPanel.
ColumnStyles
.Count;
594
ColumnStyle colStyle = _tableLayoutPanel.
ColumnStyles
[i];
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (17)
55
private TableLayoutColumnStyleCollection ColumnStyles => Table.
ColumnStyles
;
657
Table.
ColumnStyles
[0].SizeType = SizeType.Percent;
658
Table.
ColumnStyles
[0].Width = DesignerUtils.s_minimumStylePercent;
659
Table.
ColumnStyles
[1].SizeType = SizeType.Percent;
660
Table.
ColumnStyles
[1].Width = DesignerUtils.s_minimumStylePercent;
918
if (cw.Length > Table.
ColumnStyles
.Count)
920
int colDifference = cw.Length - Table.
ColumnStyles
.Count;
924
Table.
ColumnStyles
.Add(new ColumnStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize));
1116
Debug.Assert(Table.
ColumnStyles
[i] is not null, "Table's ColumnStyle[" + i + "] is null!");
1117
if (Table.
ColumnStyles
[i] is not null)
1119
TableLayoutPanelResizeGlyph g = new(gBounds, Table.
ColumnStyles
[i], Cursors.VSplit, Behavior);
1608
switch (isRow ? Table.RowStyles[_curRow].SizeType : Table.
ColumnStyles
[_curCol].SizeType)
1694
Table.
ColumnStyles
.Insert(index, new ColumnStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize));
1861
Table.
ColumnStyles
.RemoveAt(index);
1958
styles = Table.
ColumnStyles
;
2000
Table.
ColumnStyles
[index].Width = ch[index];
2012
Table.
ColumnStyles
[index].Width = DesignerUtils.s_minimumStylePercent;
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.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (2)
46
ColumnStyle columnStyle = Assert.IsType<ColumnStyle>(Assert.Single(control.
ColumnStyles
));
49
Assert.Same(control.LayoutSettings.ColumnStyles, control.
ColumnStyles
);
System.Windows.Forms.Tests (10)
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\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\TableLayoutPanelTests.cs (4)
48
Assert.Empty(control.
ColumnStyles
);
49
Assert.Same(control.LayoutSettings.ColumnStyles, control.
ColumnStyles
);
1517
control.
ColumnStyles
.Add(new ColumnStyle(SizeType.Absolute, 10));
1518
control.
ColumnStyles
.Add(new ColumnStyle(SizeType.Absolute, 10));
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));