253 instantiations of RowStyle
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 (11)
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\Controls\ToolStrips\StatusStrip.cs (2)
489TableLayoutSettings.RowStyles.Add(new RowStyle()); 520TableLayoutSettings.RowStyles.Add(new RowStyle());
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
131_okCancelTableLayoutPanel.RowStyles.Add(new RowStyle());
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
240settings.RowStyles.Add(new RowStyle(type, width));
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 (79)
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 (13)
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));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
937Table.RowStyles.Add(new RowStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize)); 1682Table.RowStyles.Insert(index, new RowStyle(SizeType.Absolute, DesignerUtils.s_minimumStyleSize));
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.Tests (77)
SerializableTypesTests.cs (2)
282tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 20)); 283tableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 30));
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1672RowStyle rowStyle = new(SizeType.Percent, 2); 1708RowStyle rowStyle = new(SizeType.Percent, 2); 1775RowStyle rowStyle = new(SizeType.Percent, 2);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (3)
178settings.RowStyles.Add(new RowStyle(SizeType.AutoSize, 1)); 179settings.RowStyles.Add(new RowStyle(SizeType.Absolute, 2)); 260Assert.Throws<InvalidCastException>(() => settings.ColumnStyles.Add(new RowStyle()));
System\Windows\Forms\RowStyleTests.cs (8)
11RowStyle style = new(); 21RowStyle style = new(sizeType); 34RowStyle style = new(sizeType, width); 42Assert.Throws<ArgumentOutOfRangeException>("value", () => new RowStyle(SizeType.AutoSize, -1)); 51RowStyle style = new() 69RowStyle style = new(); 99RowStyle style = new(); 138RowStyle style = new();
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (2)
27RowStyle style = new(); 64Assert.Throws<InvalidCastException>(() => collection.Add(new RowStyle()));
System\Windows\Forms\TableLayoutPanelTests.cs (25)
447RowStyle rowStyle = new(SizeType.Percent, 1); 483RowStyle rowStyle = new(SizeType.Percent, 1); 547settings.RowStyles.Add(new RowStyle(SizeType.Percent, 1)); 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));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (9)
15RowStyle style = new(); 39RowStyle style = new(); 50collection.Add(new RowStyle()); 52RowStyle style = new(); 74RowStyle style = new(); 89RowStyle style = new(); 92Assert.False(collection.Contains(new RowStyle())); 102RowStyle style = new(); 105Assert.Equal(-1, collection.IndexOf(new RowStyle()));
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (21)
30RowStyle style = new(); 42RowStyle style = new(); 72RowStyle style = new(); 85RowStyle style = new(); 116RowStyle style = new(); 127collection.Add(new RowStyle()); 129RowStyle style = new(); 141collection.Add(new RowStyle()); 143RowStyle style = new(); 157collection.Add(new RowStyle()); 168collection.Add(new RowStyle()); 178RowStyle style = new(); 190RowStyle style = new(); 205RowStyle style = new(); 226RowStyle style = new(); 241RowStyle style = new(); 259RowStyle style = new(); 263Assert.False(collection.Contains(new RowStyle())); 273RowStyle style = new(); 277Assert.Equal(-1, collection.IndexOf(new RowStyle())); 287RowStyle style = new();
System\Windows\Forms\TableLayoutStyleTests.cs (4)
126yield return new object[] { new RowStyle(SizeType.AutoSize, 1), typeof(RowStyle).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() }; 127yield return new object[] { new RowStyle(SizeType.Absolute, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } }; 128yield return new object[] { new RowStyle(SizeType.Percent, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } }; 172Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new RowStyle(), destinationType));
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));
52 references to RowStyle
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
528RowStyle rowStyle = TableLayoutSettings.RowStyles[i];
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
542foreach (RowStyle rs in RowStyles)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutRowStyleCollection.cs (7)
19public int Add(RowStyle rowStyle) => ((IList)this).Add(rowStyle); 21public void Insert(int index, RowStyle rowStyle) => ((IList)this).Insert(index, rowStyle); 23public new RowStyle this[int index] 25get => (RowStyle)((IList)this)[index]!; 29public void Remove(RowStyle rowStyle) => ((IList)this).Remove(rowStyle); 31public bool Contains(RowStyle rowStyle) => ((IList)this).Contains(rowStyle); 33public int IndexOf(RowStyle rowStyle) => ((IList)this).IndexOf(rowStyle);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
113foreach (RowStyle rowStyle in tableLayoutSettings.RowStyles)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
588RowStyle rowStyle = _tableLayoutPanel.RowStyles[i];
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (2)
110RowStyle rowStyle = Assert.IsType<RowStyle>(Assert.Single(control.RowStyles));
System.Windows.Forms.Tests (39)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
1672RowStyle rowStyle = new(SizeType.Percent, 2); 1708RowStyle rowStyle = new(SizeType.Percent, 2); 1775RowStyle rowStyle = new(SizeType.Percent, 2); 1797Assert.Equal(rowStyle.SizeType, ((RowStyle)Assert.Single(result.RowStyles)).SizeType); 1798Assert.Equal(rowStyle.Height, ((RowStyle)Assert.Single(result.RowStyles)).Height);
System\Windows\Forms\RowStyleTests.cs (7)
11RowStyle style = new(); 21RowStyle style = new(sizeType); 34RowStyle style = new(sizeType, width); 51RowStyle style = new() 69RowStyle style = new(); 99RowStyle style = new(); 138RowStyle style = new();
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (1)
27RowStyle style = new();
System\Windows\Forms\TableLayoutPanelTests.cs (2)
447RowStyle rowStyle = new(SizeType.Percent, 1); 483RowStyle rowStyle = new(SizeType.Percent, 1);
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (6)
15RowStyle style = new(); 39RowStyle style = new(); 52RowStyle style = new(); 74RowStyle style = new(); 89RowStyle style = new(); 102RowStyle style = new();
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (15)
30RowStyle style = new(); 42RowStyle style = new(); 72RowStyle style = new(); 85RowStyle style = new(); 116RowStyle style = new(); 129RowStyle style = new(); 143RowStyle style = new(); 178RowStyle style = new(); 190RowStyle style = new(); 205RowStyle style = new(); 226RowStyle style = new(); 241RowStyle style = new(); 259RowStyle style = new(); 273RowStyle style = new(); 287RowStyle style = new();
System\Windows\Forms\TableLayoutStyleTests.cs (3)
126yield return new object[] { new RowStyle(SizeType.AutoSize, 1), typeof(RowStyle).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() }; 127yield return new object[] { new RowStyle(SizeType.Absolute, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } }; 128yield return new object[] { new RowStyle(SizeType.Percent, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } };