253 instantiations of RowStyle
Accessibility_Core_App (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));
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)
489
TableLayoutSettings.RowStyles.Add(new
RowStyle
());
520
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)
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)
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)
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)
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\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)
282
tableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 20));
283
tableLayoutPanel.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 30));
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (3)
1672
RowStyle rowStyle =
new
(SizeType.Percent, 2);
1708
RowStyle rowStyle =
new
(SizeType.Percent, 2);
1775
RowStyle rowStyle =
new
(SizeType.Percent, 2);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (3)
178
settings.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 1));
179
settings.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 2));
260
Assert.Throws<InvalidCastException>(() => settings.ColumnStyles.Add(new
RowStyle
()));
System\Windows\Forms\RowStyleTests.cs (8)
11
RowStyle style =
new
();
21
RowStyle style =
new
(sizeType);
34
RowStyle style =
new
(sizeType, width);
42
Assert.Throws<ArgumentOutOfRangeException>("value", () => new
RowStyle
(SizeType.AutoSize, -1));
51
RowStyle style =
new
()
69
RowStyle style =
new
();
99
RowStyle style =
new
();
138
RowStyle style =
new
();
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (2)
27
RowStyle style =
new
();
64
Assert.Throws<InvalidCastException>(() => collection.Add(new
RowStyle
()));
System\Windows\Forms\TableLayoutPanelTests.cs (25)
447
RowStyle rowStyle =
new
(SizeType.Percent, 1);
483
RowStyle rowStyle =
new
(SizeType.Percent, 1);
547
settings.RowStyles.Add(new
RowStyle
(SizeType.Percent, 1));
979
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 20));
982
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 30));
985
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 6));
1001
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 10));
1004
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 5));
1007
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 6));
1024
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 20));
1027
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 30));
1030
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 6));
1047
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 75));
1050
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 100));
1067
control.RowStyles.Add(new
RowStyle
(SizeType.Percent, 75));
1070
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 100));
1087
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 50));
1090
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize, 100));
1107
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 100));
1110
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 100));
1127
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize - 1, 22));
1130
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize - 1, 22));
1133
control.RowStyles.Add(new
RowStyle
(SizeType.AutoSize - 1, 6));
1515
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 10));
1516
control.RowStyles.Add(new
RowStyle
(SizeType.Absolute, 10));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (9)
15
RowStyle style =
new
();
39
RowStyle style =
new
();
50
collection.Add(new
RowStyle
());
52
RowStyle style =
new
();
74
RowStyle style =
new
();
89
RowStyle style =
new
();
92
Assert.False(collection.Contains(new
RowStyle
()));
102
RowStyle style =
new
();
105
Assert.Equal(-1, collection.IndexOf(new
RowStyle
()));
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (21)
30
RowStyle style =
new
();
42
RowStyle style =
new
();
72
RowStyle style =
new
();
85
RowStyle style =
new
();
116
RowStyle style =
new
();
127
collection.Add(new
RowStyle
());
129
RowStyle style =
new
();
141
collection.Add(new
RowStyle
());
143
RowStyle style =
new
();
157
collection.Add(new
RowStyle
());
168
collection.Add(new
RowStyle
());
178
RowStyle style =
new
();
190
RowStyle style =
new
();
205
RowStyle style =
new
();
226
RowStyle style =
new
();
241
RowStyle style =
new
();
259
RowStyle style =
new
();
263
Assert.False(collection.Contains(new
RowStyle
()));
273
RowStyle style =
new
();
277
Assert.Equal(-1, collection.IndexOf(new
RowStyle
()));
287
RowStyle style =
new
();
System\Windows\Forms\TableLayoutStyleTests.cs (4)
126
yield return new object[] { new
RowStyle
(SizeType.AutoSize, 1), typeof(RowStyle).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() };
127
yield return new object[] { new
RowStyle
(SizeType.Absolute, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } };
128
yield return new object[] { new
RowStyle
(SizeType.Percent, 1), typeof(RowStyle).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } };
172
Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new
RowStyle
(), destinationType));
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)
528
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)
110
RowStyle
rowStyle = Assert.IsType<
RowStyle
>(Assert.Single(control.RowStyles));
System.Windows.Forms.Tests (39)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (5)
1672
RowStyle
rowStyle = new(SizeType.Percent, 2);
1708
RowStyle
rowStyle = new(SizeType.Percent, 2);
1775
RowStyle
rowStyle = new(SizeType.Percent, 2);
1797
Assert.Equal(rowStyle.SizeType, ((
RowStyle
)Assert.Single(result.RowStyles)).SizeType);
1798
Assert.Equal(rowStyle.Height, ((
RowStyle
)Assert.Single(result.RowStyles)).Height);
System\Windows\Forms\RowStyleTests.cs (7)
11
RowStyle
style = new();
21
RowStyle
style = new(sizeType);
34
RowStyle
style = new(sizeType, width);
51
RowStyle
style = new()
69
RowStyle
style = new();
99
RowStyle
style = new();
138
RowStyle
style = new();
System\Windows\Forms\TableLayoutColumnStyleCollectionTests.cs (1)
27
RowStyle
style = new();
System\Windows\Forms\TableLayoutPanelTests.cs (2)
447
RowStyle
rowStyle = new(SizeType.Percent, 1);
483
RowStyle
rowStyle = new(SizeType.Percent, 1);
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (6)
15
RowStyle
style = new();
39
RowStyle
style = new();
52
RowStyle
style = new();
74
RowStyle
style = new();
89
RowStyle
style = new();
102
RowStyle
style = new();
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (15)
30
RowStyle
style = new();
42
RowStyle
style = new();
72
RowStyle
style = new();
85
RowStyle
style = new();
116
RowStyle
style = new();
129
RowStyle
style = new();
143
RowStyle
style = new();
178
RowStyle
style = new();
190
RowStyle
style = new();
205
RowStyle
style = new();
226
RowStyle
style = new();
241
RowStyle
style = new();
259
RowStyle
style = new();
273
RowStyle
style = new();
287
RowStyle
style = new();
System\Windows\Forms\TableLayoutStyleTests.cs (3)
126
yield return new object[] { new RowStyle(SizeType.AutoSize, 1), typeof(
RowStyle
).GetConstructor(Array.Empty<Type>()), Array.Empty<object>() };
127
yield return new object[] { new RowStyle(SizeType.Absolute, 1), typeof(
RowStyle
).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Absolute, 1f } };
128
yield return new object[] { new RowStyle(SizeType.Percent, 1), typeof(
RowStyle
).GetConstructor([typeof(SizeType), typeof(int)]), new object[] { SizeType.Percent, 1f } };