4 writes to Height
System.Drawing.Primitives (3)
System\Drawing\RectangleF.cs (3)
109Height = value.Height; 236Height += 2 * y; 264Height = result.Height;
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1087focusRectangle.Height = requiredSize.Height;
34 references to Height
Microsoft.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
230value.Height).Write(writer);
System.Drawing.Primitives (21)
System\Drawing\Rectangle.cs (3)
185(int)Math.Ceiling(value.Height)); 200(int)value.Height); 215(int)Math.Round(value.Height));
System\Drawing\RectangleF.cs (18)
105readonly get => new SizeF(Width, Height); 177public readonly float Bottom => Y + Height; 180/// Tests whether this <see cref='System.Drawing.RectangleF'/> has a <see cref='System.Drawing.RectangleF.Width'/> or a <see cref='System.Drawing.RectangleF.Height'/> of 0. 183public readonly bool IsEmpty => (Width <= 0) || (Height <= 0); 197left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height; 208public readonly bool Contains(float x, float y) => X <= x && x < X + Width && Y <= y && y < Y + Height; 221(X <= rect.X) && (rect.X + rect.Width <= X + Width) && (Y <= rect.Y) && (rect.Y + rect.Height <= Y + Height); 226public override readonly int GetHashCode() => HashCode.Combine(X, Y, Width, Height); 264Height = result.Height; 276float y2 = Math.Min(a.Y + a.Height, b.Y + b.Height); 290(rect.X < X + Width) && (X < rect.X + rect.Width) && (rect.Y < Y + Height) && (Y < rect.Y + rect.Height); 300float y2 = Math.Max(a.Y + a.Height, b.Y + b.Height); 329public override readonly string ToString() => $"{{X={X},Y={Y},Width={Width},Height={Height}}}";
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
230value.Height).Write(writer);
System.Private.Windows.Core.TestUtilities (4)
FluentAssertions\FluentAssertExtensions.cs (4)
43parent.Subject.Height.Should().BeApproximately(expectedValue.Height, precision, because, becauseArgs); 66&& ComparisonHelpers.EqualsFloating(expected.Height, actual.Height, precision),
System.Windows.Forms (7)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonDarkModeRenderer.cs (2)
223Math.Max(1, bounds.Height - (2 * inset))); 228float clampedRadius = Math.Clamp(radius, 1, Math.Min(bounds.Width, bounds.Height));
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (2)
310Math.Max(1, bounds.Height - (2 * inset))); 315float clampedRadius = Math.Clamp(radius, 1, Math.Min(bounds.Width, bounds.Height));
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1085if (requiredSize.Height < focusRectangle.Height)
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (1)
276if (borderRect.Width < 1f || borderRect.Height < 1f)
System\Windows\Forms\Rendering\RadioButton\AnimatedRadioGlyphRenderer.cs (1)
164normalBounds.Y + ((normalBounds.Height - dotDiameter) / 2f),