89 references to RowStyles
System.Windows.Forms (14)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (11)
453
settings.
RowStyles
.Clear();
486
if (TableLayoutSettings.
RowStyles
.Count is > 1 or 0)
488
TableLayoutSettings.
RowStyles
.Clear();
489
TableLayoutSettings.
RowStyles
.Add(new RowStyle());
494
TableLayoutSettings.
RowStyles
[0].SizeType = SizeType.Absolute;
495
TableLayoutSettings.
RowStyles
[0].Height = Math.Max(0, DisplayRectangle.Height);
512
int originalRowCount = TableLayoutSettings.
RowStyles
.Count;
520
TableLayoutSettings.
RowStyles
.Add(new RowStyle());
528
RowStyle rowStyle = TableLayoutSettings.
RowStyles
[i];
548
for (int i = DisplayedItems.Count; i < TableLayoutSettings.
RowStyles
.Count; i++)
550
TableLayoutSettings.
RowStyles
[i].SizeType = SizeType.AutoSize;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
156
public TableLayoutRowStyleCollection RowStyles => _tableLayoutSettings.
RowStyles
;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (2)
113
foreach (RowStyle rowStyle in tableLayoutSettings.
RowStyles
)
240
settings.
RowStyles
.Add(new RowStyle(type, width));
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
113
Assert.Same(control.LayoutSettings.
RowStyles
, control.RowStyles);
System.Windows.Forms.Tests (74)
SerializableTypesTests.cs (4)
316
Assert.Equal(2, result.
RowStyles
.Count);
320
Assert.Equal(SizeType.Absolute, result.
RowStyles
[0].SizeType);
321
Assert.Equal(20, result.
RowStyles
[0].Height);
322
Assert.Equal(30, result.
RowStyles
[1].Height);
System\Windows\Forms\ColumnStyleTests.cs (2)
70
control.LayoutSettings.
RowStyles
.Add(style);
100
control.LayoutSettings.
RowStyles
.Add(style);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (12)
26
Assert.Empty(settings.
RowStyles
);
27
Assert.Same(settings.
RowStyles
, settings.
RowStyles
);
42
Assert.Empty(settings.
RowStyles
);
43
Assert.Same(settings.
RowStyles
, settings.
RowStyles
);
1674
settings.
RowStyles
.Add(rowStyle);
1710
settings.
RowStyles
.Add(rowStyle);
1783
settings.
RowStyles
.Add(rowStyle);
1797
Assert.Equal(rowStyle.SizeType, ((RowStyle)Assert.Single(result.
RowStyles
)).SizeType);
1798
Assert.Equal(rowStyle.Height, ((RowStyle)Assert.Single(result.
RowStyles
)).Height);
1853
Assert.Empty(result.
RowStyles
);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (9)
59
Assert.Equal(2, settings.
RowStyles
.Count);
60
Assert.Equal(SizeType.AutoSize, settings.
RowStyles
[0].SizeType);
61
Assert.Equal(1, settings.
RowStyles
[0].Height);
62
Assert.Equal(SizeType.Absolute, settings.
RowStyles
[1].SizeType);
63
Assert.Equal(2, settings.
RowStyles
[1].Height);
106
Assert.Empty(settings.
RowStyles
);
178
settings.
RowStyles
.Add(new RowStyle(SizeType.AutoSize, 1));
179
settings.
RowStyles
.Add(new RowStyle(SizeType.Absolute, 2));
271
settings.
RowStyles
.Add(new ColumnStyle());
System\Windows\Forms\RowStyleTests.cs (2)
70
control.LayoutSettings.
RowStyles
.Add(style);
100
control.LayoutSettings.
RowStyles
.Add(style);
System\Windows\Forms\TableLayoutPanelTests.cs (10)
111
Assert.Same(control.LayoutSettings.
RowStyles
, control.RowStyles);
428
Assert.Empty(control.LayoutSettings.
RowStyles
);
436
Assert.Empty(control.LayoutSettings.
RowStyles
);
449
settings.
RowStyles
.Add(rowStyle);
464
Assert.Equal(rowStyle, Assert.Single(control.LayoutSettings.
RowStyles
));
472
Assert.Empty(control.LayoutSettings.
RowStyles
);
494
settings.
RowStyles
.Add(rowStyle);
519
Assert.Equal(rowStyle, Assert.Single(control.LayoutSettings.
RowStyles
));
531
Assert.Empty(control.LayoutSettings.
RowStyles
);
547
settings.
RowStyles
.Add(new RowStyle(SizeType.Percent, 1));
System\Windows\Forms\TableLayoutRowStyleCollectionTests.cs (8)
13
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
25
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
37
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
49
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
63
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
73
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
88
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
101
TableLayoutRowStyleCollection collection = settings.
RowStyles
;
System\Windows\Forms\TableLayoutStyleCollectionTests.cs (23)
15
IList collection = settings.
RowStyles
;
28
TableLayoutStyleCollection collection = settings.
RowStyles
;
40
IList collection = settings.
RowStyles
;
52
TableLayoutStyleCollection collection = settings.
RowStyles
;
62
IList collection = settings.
RowStyles
;
71
TableLayoutStyleCollection collection = settings.
RowStyles
;
83
IList collection = settings.
RowStyles
;
97
TableLayoutStyleCollection collection = settings.
RowStyles
;
106
IList collection = settings.
RowStyles
;
115
TableLayoutStyleCollection collection = settings.
RowStyles
;
126
TableLayoutStyleCollection collection = settings.
RowStyles
;
140
IList collection = settings.
RowStyles
;
156
TableLayoutStyleCollection collection = settings.
RowStyles
;
167
IList collection = settings.
RowStyles
;
177
TableLayoutStyleCollection collection = settings.
RowStyles
;
189
IList collection = settings.
RowStyles
;
204
IList collection = settings.
RowStyles
;
216
IList collection = settings.
RowStyles
;
225
TableLayoutStyleCollection collection = settings.
RowStyles
;
240
TableLayoutStyleCollection collection = settings.
RowStyles
;
258
IList collection = settings.
RowStyles
;
272
IList collection = settings.
RowStyles
;
286
IList collection = settings.
RowStyles
;
System\Windows\Forms\TableLayoutStyleTests.cs (2)
45
control.LayoutSettings.
RowStyles
.Add(style);
77
control.LayoutSettings.
RowStyles
.Add(style);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
3022
Assert.Empty(settings.
RowStyles
);
System\Windows\Forms\ToolStripTests.cs (1)
4340
Assert.Empty(settings.
RowStyles
);