1 write to Height
System.Windows.Forms (1)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
732
retval.
Height
= tm.tmHeight;
89 references to Height
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (2)
95
If labelSizeNeeded.
Height
> Label.Height Then
98
Dim dialogHeightChange As Integer = CInt(labelSizeNeeded.
Height
- Label.Height)
PresentationUI (5)
MS\Internal\Documents\SignatureSummaryDialog.cs (5)
541
IntentTextWidth - CellPadding.Left - CellPadding.Right).
Height
;
551
SummaryNameTextWidth - CellPadding.Left - CellPadding.Right).
Height
;
555
SignByTextWidth - CellPadding.Left - CellPadding.Right).
Height
;
559
LocaleTextWidth - CellPadding.Left - CellPadding.Right).
Height
;
566
SummaryNameTextWidth - CellPadding.Left - CellPadding.Right).
Height
;
System.ComponentModel.TypeConverter (2)
System\Drawing\SizeFConverter.cs (2)
73
floatConverter.ConvertToString(context, culture, size.
Height
)
82
return new InstanceDescriptor(ctor, new object[] { size.Width, size.
Height
});
System.Drawing.Common.Tests (35)
mono\System.Drawing.Imaging\JpegCodecTests.cs (2)
60
Assert.Equal(100, bmp.PhysicalDimension.
Height
);
187
Assert.Equal(100, bmp.PhysicalDimension.
Height
);
mono\System.Drawing\GraphicsTests.cs (32)
1671
Assert.Equal((double)near.
Height
, center.
Height
, 1);
1674
Assert.Equal((double)center.
Height
, far.
Height
, 1);
1704
Assert.Equal((double)near.
Height
, center.
Height
, 0);
1707
Assert.Equal((double)center.
Height
, far.
Height
, 0);
1735
Assert.Equal((double)near.
Height
, center.
Height
, 1);
1738
Assert.Equal((double)center.
Height
, far.
Height
, 1);
1768
Assert.Equal((double)near.
Height
, center.
Height
, 1);
1771
Assert.Equal((double)center.
Height
, far.
Height
, 1);
1785
? g.MeasureString(s.AsSpan(), _font, new SizeF(80, size.
Height
), null, out int chars, out int lines)
1786
: g.MeasureString(s, _font, new SizeF(80, size.
Height
), null, out chars, out lines);
1790
Assert.Equal((double)size2.
Height
, size.
Height
);
1806
Assert.Equal(0, size.
Height
);
1815
Assert.Equal((double)expected.
Height
, size.
Height
, 1);
1827
Assert.Equal((double)expected.
Height
, size.
Height
, 1);
1838
Assert.Equal((double)expected.
Height
, size.
Height
, 1);
1901
RectangleF layout_rect = new(0.0f, 0.0f, size.Width, size.
Height
);
1926
RectangleF layout_rect = new(0.0f, 0.0f, size.Width, size.
Height
);
1967
RectangleF layout_rect = new(0.0f, 0.0f, size.Width, size.
Height
);
2123
Assert.True(sz.
Height
> _font.Height * 2);
2127
Assert.True(sz.
Height
> _font.Height * 2);
mono\System.Imaging\MetafileTest.cs (1)
317
RectangleF rect = new(0, 0, size.Width, size.
Height
);
System.Drawing.Primitives (16)
System\Drawing\PointF.cs (2)
130
public static PointF Add(PointF pt, SizeF sz) => new PointF(pt.X + sz.Width, pt.Y + sz.
Height
);
135
public static PointF Subtract(PointF pt, SizeF sz) => new PointF(pt.X - sz.Width, pt.Y - sz.
Height
);
System\Drawing\RectangleF.cs (3)
48
height = size.
Height
;
109
Height = value.
Height
;
242
public void Inflate(SizeF size) => Inflate(size.Width, size.
Height
);
System\Drawing\Size.cs (3)
157
new Size(unchecked((int)Math.Ceiling(value.Width)), unchecked((int)Math.Ceiling(value.
Height
)));
168
public static Size Truncate(SizeF value) => new Size(unchecked((int)value.Width), unchecked((int)value.
Height
));
174
new Size(unchecked((int)Math.Round(value.Width)), unchecked((int)Math.Round(value.
Height
)));
System\Drawing\SizeF.cs (8)
117
public static bool operator ==(SizeF sz1, SizeF sz2) => sz1.Width == sz2.Width && sz1.
Height
== sz2.
Height
;
127
public static explicit operator PointF(SizeF size) => new PointF(size.Width, size.
Height
);
156
public static SizeF Add(SizeF sz1, SizeF sz2) => new SizeF(sz1.Width + sz2.Width, sz1.
Height
+ sz2.
Height
);
161
public static SizeF Subtract(SizeF sz1, SizeF sz2) => new SizeF(sz1.Width - sz2.Width, sz1.
Height
- sz2.
Height
);
171
public override readonly int GetHashCode() => HashCode.Combine(Width,
Height
);
System.Private.Windows.Core (1)
System\Private\Windows\Core\BinaryFormat\BinaryFormatWriter.cs (1)
250
value.
Height
).Write(writer);
System.Windows.Forms (24)
System\Windows\Forms\Control.cs (4)
5279
float dy = factor.
Height
;
9720
float dy = factor.
Height
;
9759
factor.
Height
) + adornmentSize;
9768
factor.
Height
) + adornmentSize;
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
1939
if (factor.Width != 1F && factor.
Height
!= 1F)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
634
if (factor.Width != 1F && factor.
Height
!= 1F)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2071
if (factor.Width != 1F && factor.
Height
!= 1F)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
619
linkHeight = (int)sizef.
Height
;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (2)
1502
MinimumSize = ScaleSize(minSize, factor.Width, factor.
Height
);
1507
MaximumSize = ScaleSize(maxSize, factor.Width, factor.
Height
);
System\Windows\Forms\Form.cs (4)
449
return new Size((int)Math.Round(real.Width), (int)Math.Round(real.
Height
));
2984
Size newVar = new((int)Math.Round(newVarF.Width), (int)Math.Round(newVarF.
Height
));
4552
desiredSize.Height = (int)(Size.Height * autoScaleFactor.
Height
);
4553
Debug.WriteLine($"AutoScaleFactor computed for new DPI = {autoScaleFactor.Width} - {autoScaleFactor.
Height
}");
System\Windows\Forms\Layout\Containers\ContainerControl.cs (5)
115
if (value.Width < 0 || value.
Height
< 0)
152
: new(currentAutoScaleDimensions.Width / savedAutoScaleDimensions.Width, currentAutoScaleDimensions.
Height
/ savedAutoScaleDimensions.
Height
);
824
&& (AutoScaleFactor.Width != 1.0F || AutoScaleFactor.
Height
!= 1.0F))
978
if (autoScaleFactor.Width != 1.0F || autoScaleFactor.
Height
!= 1.0F)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1765
scale = factor.
Height
;
System\Windows\Forms\Layout\DefaultLayout.cs (1)
980
double heightFactor = factor.
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\Scrolling\ScrollableControl.cs (1)
726
ScaleDockPadding(factor.Width, factor.
Height
);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
366
_watermarkSize = new Size((int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.
Height
));
System\Windows\Forms\Design\FormDocumentDesigner.cs (3)
66
return new Size((int)Math.Round(real.Width), (int)Math.Round(real.
Height
));
269
Size newVar = new((int)Math.Round(newVarF.Width), (int)Math.Round(newVarF.
Height
));
276
float percY = newVar.Height / ((float)baseVar.
Height
);