223 references to RowStyles
Accessibility_Core_App (7)
ContainerControls2.Designer.cs (7)
148this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); 149this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); 150this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 151this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 152this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 23F)); 410this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); 411this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
PresentationUI (70)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (31)
131this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); 132this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle()); 193this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 194this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 195this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 196this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 197this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 198this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 199this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 200this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 201this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 202this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 203this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 204this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 442this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); 443this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); 444this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle()); 464this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 465this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 466this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 467this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 468this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle()); 550this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 551this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 552this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 553this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 554this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 555this._documentTable.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 669this._fileTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 670this._fileTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 671this._fileTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (4)
66this._mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 67this._mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 68this._mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 108this._userInputtableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (11)
110_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 111_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 112_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 113_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 114_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 115_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 116_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 117_userInputTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 208_mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 209_mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); 210_mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle());
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (4)
160this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F)); 161this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 162this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F)); 163this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (5)
57this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 58this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 59this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 93this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); 94this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (4)
195_mainLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 196_mainLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 197_mainLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 198_mainLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
MS\Internal\Documents\SigningDialog.Designer.cs (11)
86_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 87_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 88_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 89_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 90_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 91_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 92_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 93_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 94_signatureControlInputLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 247_mainLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); 248_mainLayoutTable.RowStyles.Add(new System.Windows.Forms.RowStyle());
System.Windows.Forms (9)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (5)
202_buttonTableLayoutPanel.RowStyles.Add(new RowStyle()); 223_pictureLabelTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.AutoSize)); 243_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 244_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 245_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
131_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle());
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
542foreach (RowStyle rs in RowStyles)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (2)
74_tableLayoutPanel.RowStyles.Add(new(SizeType.Percent, 50F)); 75_tableLayoutPanel.RowStyles.Add(new(SizeType.Percent, 50F));
System.Windows.Forms.Design (100)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (5)
223_radioButtonsTableLayoutPanel.RowStyles.Add(new RowStyle()); 264_okSaveTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); 274_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); 275_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 276_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle());
System\ComponentModel\Design\ByteViewer.cs (1)
66RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (7)
104_tableLayoutPanel.RowStyles.Add(new RowStyle()); 105_tableLayoutPanel.RowStyles.Add(new RowStyle()); 106_tableLayoutPanel.RowStyles.Add(new RowStyle()); 107_tableLayoutPanel.RowStyles.Add(new RowStyle()); 108_tableLayoutPanel.RowStyles.Add(new RowStyle()); 109_tableLayoutPanel.RowStyles.Add(new RowStyle()); 110_tableLayoutPanel.RowStyles.Add(new RowStyle());
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (14)
315_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F)); 316_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 16F)); 317_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 91F)); 318_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 12F)); 319_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F)); 320_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 321_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 4F)); 322_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 323_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 4F)); 324_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 325_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 27F)); 326_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 340_checkBoxesTableLayoutPanel.RowStyles.Add(new RowStyle()); 371_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (8)
155_sampleViewTableLayoutPanel.RowStyles.Add(new RowStyle()); 156_sampleViewTableLayoutPanel.RowStyles.Add(new RowStyle()); 170_sampleViewGridsTableLayoutPanel.RowStyles.Add(new RowStyle()); 171_sampleViewGridsTableLayoutPanel.RowStyles.Add(new RowStyle()); 219_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle()); 233_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); 234_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 235_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle());
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (6)
549_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 550_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 551_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); 552_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 563_addRemoveTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); 596_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle());
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (2)
95_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle()); 96_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle());
System\Windows\Forms\Design\MaskDesignerDialog.cs (8)
224_maskTryItTable.RowStyles.Add(new RowStyle()); 225_maskTryItTable.RowStyles.Add(new RowStyle()); 254_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 255_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 256_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); 257_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 258_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 269_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle());
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (4)
145_outerPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); 146_outerPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 24F)); 184_innerPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F)); 185_innerPanel.RowStyles.Add(new RowStyle(SizeType.AutoSize));
System\Windows\Forms\Design\StyleEditorForm.cs (19)
206_addRemoveInsertTableLayoutPanel.RowStyles.Add(new RowStyle()); 241_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle()); 271_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 272_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 273_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); 274_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 275_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 285_showTableLayoutPanel.RowStyles.Add(new RowStyle()); 339_helperTextTableLayoutPanel.RowStyles.Add(new RowStyle()); 340_helperTextTableLayoutPanel.RowStyles.Add(new RowStyle()); 382_sizeTypeTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 33.3F)); 383_sizeTypeTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 33.3F)); 384_sizeTypeTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 33.3F)); 539if (_tableLayoutPanel.RowStyles.Count > rowHeights.Length) 541int diff = _tableLayoutPanel.RowStyles.Count - rowHeights.Length; 544_tableLayoutPanel.RowStyles.RemoveAt(_tableLayoutPanel.RowStyles.Count - 1); 579int styleCount = _isRowCollection ? _tableLayoutPanel.RowStyles.Count : _tableLayoutPanel.ColumnStyles.Count; 588RowStyle rowStyle = _tableLayoutPanel.RowStyles[i];
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (17)
57private TableLayoutRowStyleCollection RowStyles => Table.RowStyles; 663Table.RowStyles[0].SizeType = SizeType.Percent; 664Table.RowStyles[0].Height = DesignerUtils.s_minimumStylePercent; 665Table.RowStyles[1].SizeType = SizeType.Percent; 666Table.RowStyles[1].Height = DesignerUtils.s_minimumStylePercent; 931if (rh.Length > Table.RowStyles.Count) 933int rowDifference = rh.Length - Table.RowStyles.Count; 937Table.RowStyles.Add(new RowStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1142Debug.Assert(Table.RowStyles[i] is not null, $"Table's RowStyle[{i}] is null!"); 1143if (Table.RowStyles[i] is not null) 1145TableLayoutPanelResizeGlyph g = new(gBounds, Table.RowStyles[i], Cursors.HSplit, Behavior); 1608switch (isRow ? Table.RowStyles[_curRow].SizeType : Table.ColumnStyles[_curCol].SizeType) 1682Table.RowStyles.Insert(index, new RowStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1849Table.RowStyles.RemoveAt(index); 1954styles = Table.RowStyles; 1996Table.RowStyles[index].Height = rh[index]; 2008Table.RowStyles[index].Height = DesignerUtils.s_minimumStylePercent;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (9)
238_okCancelPanel.RowStyles.Add(new RowStyle()); 257_nodeControlPanel.RowStyles.Add(new RowStyle()); 311_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 312_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); 313_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 314_overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); 326_navigationButtonsTableLayoutPanel.RowStyles.Add(new RowStyle()); 327_navigationButtonsTableLayoutPanel.RowStyles.Add(new RowStyle()); 328_navigationButtonsTableLayoutPanel.RowStyles.Add(new RowStyle());
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (2)
110RowStyle rowStyle = Assert.IsType<RowStyle>(Assert.Single(control.RowStyles)); 113Assert.Same(control.LayoutSettings.RowStyles, control.RowStyles);
System.Windows.Forms.Tests (26)
SerializableTypesTests.cs (2)
282tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20)); 283tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 30));
System\Windows\Forms\TableLayoutPanelTests.cs (24)
110Assert.Empty(control.RowStyles); 111Assert.Same(control.LayoutSettings.RowStyles, control.RowStyles); 979control.RowStyles.Add(new RowStyle(SizeType.AutoSize, 20)); 982control.RowStyles.Add(new RowStyle(SizeType.AutoSize, 30)); 985control.RowStyles.Add(new RowStyle(SizeType.AutoSize, 6)); 1001control.RowStyles.Add(new RowStyle(SizeType.Absolute, 10)); 1004control.RowStyles.Add(new RowStyle(SizeType.Absolute, 5)); 1007control.RowStyles.Add(new RowStyle(SizeType.Absolute, 6)); 1024control.RowStyles.Add(new RowStyle(SizeType.Percent, 20)); 1027control.RowStyles.Add(new RowStyle(SizeType.Percent, 30)); 1030control.RowStyles.Add(new RowStyle(SizeType.Percent, 6)); 1047control.RowStyles.Add(new RowStyle(SizeType.Percent, 75)); 1050control.RowStyles.Add(new RowStyle(SizeType.Absolute, 100)); 1067control.RowStyles.Add(new RowStyle(SizeType.Percent, 75)); 1070control.RowStyles.Add(new RowStyle(SizeType.AutoSize, 100)); 1087control.RowStyles.Add(new RowStyle(SizeType.Absolute, 50)); 1090control.RowStyles.Add(new RowStyle(SizeType.AutoSize, 100)); 1107control.RowStyles.Add(new RowStyle(SizeType.Absolute, 100)); 1110control.RowStyles.Add(new RowStyle(SizeType.Absolute, 100)); 1127control.RowStyles.Add(new RowStyle(SizeType.AutoSize - 1, 22)); 1130control.RowStyles.Add(new RowStyle(SizeType.AutoSize - 1, 22)); 1133control.RowStyles.Add(new RowStyle(SizeType.AutoSize - 1, 6)); 1515control.RowStyles.Add(new RowStyle(SizeType.Absolute, 10)); 1516control.RowStyles.Add(new RowStyle(SizeType.Absolute, 10));
WinFormsControlsTest (9)
Buttons.cs (2)
36table.RowStyles.Add(new RowStyle(SizeType.Percent, 70.0f)); 37table.RowStyles.Add(new RowStyle(SizeType.Percent, 30.0f));
DragDrop.Designer.cs (7)
74tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 75tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 76tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 77tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 78tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 112F)); 79tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); 171tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));