152 references to ColumnStyles
Accessibility_Core_App (7)
ContainerControls2.Designer.cs (7)
139this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 140this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 141this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 142this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 143this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 25F)); 404this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 405this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
PresentationUI (24)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (12)
124this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 125this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 162this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 94)); 163this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 335)); 434this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 452this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 453this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 454this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 535this._documentTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 103)); 536this._documentTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 283)); 658this._fileTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 103)); 659this._fileTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 283));
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (3)
59this._mainDialogTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 101this._userInputtableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 102this._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)
149this._tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 71.5164F)); 150this._tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 28.48361F));
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (2)
50this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); 86this.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)
521foreach (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)
63ColumnStyles.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)
297_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 14F)); 298_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); 299_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 250F)); 330_checkBoxesTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); 331_checkBoxesTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); 332_checkBoxesTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); 364_okCancelTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 365_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)
535_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); 536_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); 537_overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent)); 555_addRemoveTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 556_addRemoveTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 587_okCancelTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 588_okCancelTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 589_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)); 530if (_tableLayoutPanel.ColumnStyles.Count > columnWidths.Length) 532int diff = _tableLayoutPanel.ColumnStyles.Count - columnWidths.Length; 535_tableLayoutPanel.ColumnStyles.RemoveAt(_tableLayoutPanel.ColumnStyles.Count - 1); 579int styleCount = _isRowCollection ? _tableLayoutPanel.RowStyles.Count : _tableLayoutPanel.ColumnStyles.Count; 594ColumnStyle colStyle = _tableLayoutPanel.ColumnStyles[i];
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (17)
55private TableLayoutColumnStyleCollection ColumnStyles => Table.ColumnStyles; 657Table.ColumnStyles[0].SizeType = SizeType.Percent; 658Table.ColumnStyles[0].Width = DesignerUtils.s_minimumStylePercent; 659Table.ColumnStyles[1].SizeType = SizeType.Percent; 660Table.ColumnStyles[1].Width = DesignerUtils.s_minimumStylePercent; 918if (cw.Length > Table.ColumnStyles.Count) 920int colDifference = cw.Length - Table.ColumnStyles.Count; 924Table.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1116Debug.Assert(Table.ColumnStyles[i] is not null, "Table's ColumnStyle[" + i + "] is null!"); 1117if (Table.ColumnStyles[i] is not null) 1119TableLayoutPanelResizeGlyph g = new(gBounds, Table.ColumnStyles[i], Cursors.VSplit, Behavior); 1608switch (isRow ? Table.RowStyles[_curRow].SizeType : Table.ColumnStyles[_curCol].SizeType) 1694Table.ColumnStyles.Insert(index, new ColumnStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1861Table.ColumnStyles.RemoveAt(index); 1952styles = isRow ? Table.RowStyles : Table.ColumnStyles; 1993Table.ColumnStyles[index].Width = ch[index]; 2005Table.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)
46ColumnStyle columnStyle = Assert.IsType<ColumnStyle>(Assert.Single(control.ColumnStyles)); 49Assert.Same(control.LayoutSettings.ColumnStyles, control.ColumnStyles);
System.Windows.Forms.Tests (10)
SerializableTypesTests.cs (3)
279tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50)); 280tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50)); 281tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50));
System\Windows\Forms\ControlTests.cs (3)
865table.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 866table.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 867table.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
System\Windows\Forms\TableLayoutPanelTests.cs (4)
48Assert.Empty(control.ColumnStyles); 49Assert.Same(control.LayoutSettings.ColumnStyles, control.ColumnStyles); 1517control.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 10)); 1518control.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 10));
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
947tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
WinFormsControlsTest (9)
Buttons.cs (3)
33table.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 34table.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 35table.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
DragDrop.cs (1)
428tableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize));
DragDrop.Designer.cs (5)
59tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 115F)); 60tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 55.55556F)); 61tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 44.44445F)); 163tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); 164tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));