262 instantiations of RowStyle
PresentationUI (70)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (31)
131
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
132
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
193
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
194
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
195
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
196
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
197
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
198
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
199
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
200
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
201
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
202
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
203
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
204
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
442
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
443
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
444
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
464
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
465
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
466
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
467
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
468
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
550
this._documentTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
551
this._documentTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
552
this._documentTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
553
this._documentTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
554
this._documentTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
555
this._documentTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Absolute, 20F));
669
this._fileTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
670
this._fileTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
671
this._fileTable.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (4)
66
this._mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
67
this._mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
68
this._mainDialogTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
108
this._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)
160
this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Absolute, 10F));
161
this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
162
this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Absolute, 10F));
163
this._tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (5)
57
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
58
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
());
59
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Absolute, 20F));
93
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Percent, 50F));
94
this.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)
497
TableLayoutSettings.RowStyles.Add(new
RowStyle
());
528
TableLayoutSettings.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)
240
settings.RowStyles.Add(new
RowStyle
(type, width));
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.StatusDialog.cs (2)
67
_tableLayoutPanel.RowStyles.Add(
new
(SizeType.Percent, 50F));
68
_tableLayoutPanel.RowStyles.Add(
new
(SizeType.Percent, 50F));
System.Windows.Forms.Design (88)
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)
66
RowStyles.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)
314
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 22F));
315
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 16F));
316
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 91F));
317
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 12F));
318
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 22F));
319
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
());
320
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 4F));
321
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
());
322
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 4F));
323
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
());
324
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 27F));
325
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
());
339
_checkBoxesTableLayoutPanel.RowStyles.Add(new
RowStyle
());
370
_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)
547
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
());
548
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
());
549
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Percent, 50F));
550
_overarchingTableLayoutPanel.RowStyles.Add(new
RowStyle
());
561
_addRemoveTableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Percent, 50F));
594
_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)
937
Table.RowStyles.Add(new
RowStyle
(SizeType.Absolute, DesignerUtils.s_minimumStyleSize));
1682
Table.RowStyles.Insert(index, new
RowStyle
(SizeType.Absolute, DesignerUtils.s_minimumStyleSize));
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (9)
230
_tableLayoutPanel.RowStyles.Add(
new
());
231
_tableLayoutPanel.RowStyles.Add(
new
());
232
_tableLayoutPanel.RowStyles.Add(
new
());
233
_tableLayoutPanel.RowStyles.Add(
new
());
234
_tableLayoutPanel.RowStyles.Add(
new
());
235
_tableLayoutPanel.RowStyles.Add(
new
(SizeType.Percent, 100F));
236
_tableLayoutPanel.RowStyles.Add(
new
());
246
_addTableLayoutPanel.RowStyles.Add(
new
());
268
_okCancelTableLayoutPanel.RowStyles.Add(
new
());
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)
284
tableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 20));
285
tableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 30));
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1674
RowStyle rowStyle =
new
(SizeType.Percent, 2);
1710
RowStyle rowStyle =
new
(SizeType.Percent, 2);
1777
RowStyle rowStyle =
new
(SizeType.Percent, 2);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (3)
180
settings.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 1));
181
settings.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 2));
262
Assert.Throws<InvalidCastException>(() => settings.ColumnStyles.Add(new
RowStyle
()));
System\Windows\Forms\RowStyleTests.cs (8)
13
RowStyle style =
new
();
23
RowStyle style =
new
(sizeType);
36
RowStyle style =
new
(sizeType, width);
44
Assert.Throws<ArgumentOutOfRangeException>("value", () => new
RowStyle
(SizeType.AutoSize, -1));
53
RowStyle style =
new
()
71
RowStyle style =
new
();
101
RowStyle style =
new
();
140
RowStyle style =
new
();
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (2)
29
RowStyle style =
new
();
66
Assert.Throws<InvalidCastException>(() => collection.Add(new
RowStyle
()));
System\Windows\Forms\TableLayoutPanelTests.cs (25)
449
RowStyle rowStyle =
new
(SizeType.Percent, 1);
485
RowStyle rowStyle =
new
(SizeType.Percent, 1);
549
settings.RowStyles.Add(new
RowStyle
(SizeType.Percent, 1));
981
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 20));
984
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 30));
987
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 6));
1003
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 10));
1006
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 5));
1009
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 6));
1026
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 20));
1029
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 30));
1032
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 6));
1049
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 75));
1052
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 100));
1069
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 75));
1072
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 100));
1089
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 50));
1092
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 100));
1109
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 100));
1112
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 100));
1129
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize - 1, 22));
1132
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize - 1, 22));
1135
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize - 1, 6));
1517
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 10));
1518
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 10));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (9)
17
RowStyle style =
new
();
41
RowStyle style =
new
();
52
collection.Add(new
RowStyle
());
54
RowStyle style =
new
();
76
RowStyle style =
new
();
91
RowStyle style =
new
();
94
Assert.False(collection.Contains(new
RowStyle
()));
104
RowStyle style =
new
();
107
Assert.Equal(-1, collection.IndexOf(new
RowStyle
()));
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (21)
32
RowStyle style =
new
();
44
RowStyle style =
new
();
74
RowStyle style =
new
();
87
RowStyle style =
new
();
118
RowStyle style =
new
();
129
collection.Add(new
RowStyle
());
131
RowStyle style =
new
();
143
collection.Add(new
RowStyle
());
145
RowStyle style =
new
();
159
collection.Add(new
RowStyle
());
170
collection.Add(new
RowStyle
());
180
RowStyle style =
new
();
192
RowStyle style =
new
();
207
RowStyle style =
new
();
228
RowStyle style =
new
();
243
RowStyle style =
new
();
261
RowStyle style =
new
();
265
Assert.False(collection.Contains(new
RowStyle
()));
275
RowStyle style =
new
();
279
Assert.Equal(-1, collection.IndexOf(new
RowStyle
()));
289
RowStyle style =
new
();
System\Windows\Forms\TableLayoutStyleTests.cs (4)
128
yield return new object[] { new
RowStyle
(SizeType.AutoSize, 1), typeof(RowStyle).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() };
129
yield return new object[] { new
RowStyle
(SizeType.Absolute, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } };
130
yield return new object[] { new
RowStyle
(SizeType.Percent, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } };
174
Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new
RowStyle
(), destinationType));
TestPassApp (7)
ContainerControls2.Designer.cs (7)
148
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Percent, 50F));
149
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Percent, 50F));
150
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Absolute, 23F));
151
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Absolute, 23F));
152
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Absolute, 23F));
410
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Percent, 50F));
411
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.
RowStyle
(System.Windows.Forms.SizeType.Percent, 50F));
WinFormsControlsTest (9)
Buttons.cs (2)
36
table.RowStyles.Add(new
RowStyle
(SizeType.Percent, 70.0f));
37
table.RowStyles.Add(new
RowStyle
(SizeType.Percent, 30.0f));
DragDrop.Designer.cs (7)
74
tableLayoutPanel1.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 112F));
75
tableLayoutPanel1.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 112F));
76
tableLayoutPanel1.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 112F));
77
tableLayoutPanel1.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 112F));
78
tableLayoutPanel1.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 112F));
79
tableLayoutPanel1.RowStyles.Add(new
RowStyle
(SizeType.Percent, 100F));
171
tableLayoutPanel2.RowStyles.Add(new
RowStyle
(SizeType.Percent, 50F));
52 references to RowStyle
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
536
RowStyle
rowStyle = TableLayoutSettings.RowStyles[i];
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
542
foreach (
RowStyle
rs in RowStyles)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutRowStyleCollection.cs (7)
19
public int Add(
RowStyle
rowStyle) => ((IList)this).Add(rowStyle);
21
public void Insert(int index,
RowStyle
rowStyle) => ((IList)this).Insert(index, rowStyle);
23
public new
RowStyle
this[int index]
25
get => (
RowStyle
)((IList)this)[index]!;
29
public void Remove(
RowStyle
rowStyle) => ((IList)this).Remove(rowStyle);
31
public bool Contains(
RowStyle
rowStyle) => ((IList)this).Contains(rowStyle);
33
public int IndexOf(
RowStyle
rowStyle) => ((IList)this).IndexOf(rowStyle);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
113
foreach (
RowStyle
rowStyle in tableLayoutSettings.RowStyles)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
588
RowStyle
rowStyle = _tableLayoutPanel.RowStyles[i];
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ByteViewerTests.cs (2)
112
RowStyle
rowStyle = Assert.IsType<
RowStyle
>(Assert.Single(control.RowStyles));
System.Windows.Forms.Tests (39)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
1674
RowStyle
rowStyle = new(SizeType.Percent, 2);
1710
RowStyle
rowStyle = new(SizeType.Percent, 2);
1777
RowStyle
rowStyle = new(SizeType.Percent, 2);
1799
Assert.Equal(rowStyle.SizeType, ((
RowStyle
)Assert.Single(result.RowStyles)).SizeType);
1800
Assert.Equal(rowStyle.Height, ((
RowStyle
)Assert.Single(result.RowStyles)).Height);
System\Windows\Forms\RowStyleTests.cs (7)
13
RowStyle
style = new();
23
RowStyle
style = new(sizeType);
36
RowStyle
style = new(sizeType, width);
53
RowStyle
style = new()
71
RowStyle
style = new();
101
RowStyle
style = new();
140
RowStyle
style = new();
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (1)
29
RowStyle
style = new();
System\Windows\Forms\TableLayoutPanelTests.cs (2)
449
RowStyle
rowStyle = new(SizeType.Percent, 1);
485
RowStyle
rowStyle = new(SizeType.Percent, 1);
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (6)
17
RowStyle
style = new();
41
RowStyle
style = new();
54
RowStyle
style = new();
76
RowStyle
style = new();
91
RowStyle
style = new();
104
RowStyle
style = new();
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (15)
32
RowStyle
style = new();
44
RowStyle
style = new();
74
RowStyle
style = new();
87
RowStyle
style = new();
118
RowStyle
style = new();
131
RowStyle
style = new();
145
RowStyle
style = new();
180
RowStyle
style = new();
192
RowStyle
style = new();
207
RowStyle
style = new();
228
RowStyle
style = new();
243
RowStyle
style = new();
261
RowStyle
style = new();
275
RowStyle
style = new();
289
RowStyle
style = new();
System\Windows\Forms\TableLayoutStyleTests.cs (3)
128
yield return new object[] { new RowStyle(SizeType.AutoSize, 1), typeof(
RowStyle
).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() };
129
yield return new object[] { new RowStyle(SizeType.Absolute, 1), typeof(
RowStyle
).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } };
130
yield return new object[] { new RowStyle(SizeType.Percent, 1), typeof(
RowStyle
).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } };