16 writes to Height
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (2)
495
TableLayoutSettings.RowStyles[0].
Height
= Math.Max(0, DisplayRectangle.Height);
529
rowStyle.
Height
= 100; // this width is ignored in AutoSize.
System\Windows\Forms\Panels\TableLayoutPanel\RowStyle.cs (1)
20
Height
= height;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (2)
550
rs.
Height
= (float)Math.Round(lastRowHeight * factor.Height);
554
rs.
Height
= (float)Math.Round(rs.Height * factor.Height);
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (4)
664
Table.RowStyles[0].
Height
= DesignerUtils.s_minimumStylePercent;
666
Table.RowStyles[1].
Height
= DesignerUtils.s_minimumStylePercent;
1996
Table.RowStyles[index].
Height
= rh[index];
2008
Table.RowStyles[index].
Height
= DesignerUtils.s_minimumStylePercent;
System.Windows.Forms.Tests (7)
System\Windows\Forms\RowStyleTests.cs (7)
53
Height
= value
58
style.
Height
= value;
80
style.
Height
= value;
86
style.
Height
= value;
117
style.
Height
= value;
126
style.
Height
= value;
139
Assert.Throws<ArgumentOutOfRangeException>("value", () => style.
Height
= -1);
19 references to Height
System.Windows.Forms (2)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
554
rs.Height = (float)Math.Round(rs.
Height
* factor.Height);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
115
rowStyles.Append($"{rowStyle.SizeType},{rowStyle.
Height
},");
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
590
sizeValue = FormatValueString(rowStyle.SizeType, rowStyle.
Height
);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
112
Assert.Equal(100F, rowStyle.
Height
);
System.Windows.Forms.Tests (15)
SerializableTypesTests.cs (2)
321
Assert.Equal(20, result.RowStyles[0].
Height
);
322
Assert.Equal(30, result.RowStyles[1].
Height
);
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (2)
1798
Assert.Equal(rowStyle.
Height
, ((RowStyle)Assert.Single(result.RowStyles)).
Height
);
System\Windows\Forms\Layout\TableLayoutSettingsTypeConverterTests.cs (2)
61
Assert.Equal(1, settings.RowStyles[0].
Height
);
63
Assert.Equal(2, settings.RowStyles[1].
Height
);
System\Windows\Forms\RowStyleTests.cs (9)
13
Assert.Equal(0, style.
Height
);
23
Assert.Equal(0, style.
Height
);
36
Assert.Equal(width, style.
Height
);
55
Assert.Equal(value, style.
Height
);
59
Assert.Equal(value, style.
Height
);
81
Assert.Equal(value, style.
Height
);
87
Assert.Equal(value, style.
Height
);
118
Assert.Equal(value, style.
Height
);
127
Assert.Equal(value, style.
Height
);