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)
1077focusRectangle.Height = requiredSize.Height;
103 references to Height
PresentationCore (1)
System\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
169value.Height).Write(writer);
PresentationCore.Tests (5)
BinaryFormat\SystemDrawingTests.cs (2)
34Assert.Equal(input.Height, ((RectangleF)read).Height);
FluentAssertions\FluentAssertExtensions.cs (3)
38parent.Subject.Height.Should().BeApproximately(expectedValue.Height, precision, because, becauseArgs); 60&& ComparisonHelpers.EqualsFloating(expected.Height, actual.Height, precision),
System.Drawing.Common.Tests (71)
mono\System.Drawing.Imaging\BmpCodecTests.cs (5)
55Assert.Equal(183, rect.Height); 121Assert.Equal(183, rect.Height); 187Assert.Equal(183, rect.Height); 373Assert.Equal(183, rect.Height); 504Assert.Equal(60, rect.Height);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
52Assert.Equal(100, rect.Height);
mono\System.Drawing.Imaging\IconCodecTests.cs (6)
89Assert.Equal(16, rect.Height); 237Assert.Equal(32, rect.Height); 442Assert.Equal(48, rect.Height); 664Assert.Equal(64, rect.Height); 922Assert.Equal(96, rect.Height); 1856Assert.Equal(16, rect.Height);
mono\System.Drawing.Imaging\JpegCodecTests.cs (2)
54Assert.Equal(100, rect.Height); 181Assert.Equal(100, rect.Height);
mono\System.Drawing.Imaging\PngCodecTests.cs (3)
60Assert.Equal(384, rect.Height); 262Assert.Equal(100, rect.Height); 384Assert.Equal(384, rect.Height);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
54Assert.Equal(183, rect.Height);
mono\System.Drawing\GraphicsTests.cs (39)
159Assert.Equal(220, rects[0].Height); 187Assert.Equal(50, _rects[0].Height); 192Assert.Equal(20, _rects[1].Height); 197Assert.Equal(30, _rects[2].Height); 214Assert.Equal(70, _rects[0].Height); 232Assert.Equal(8388608, _rects[0].Height); 249Assert.Equal(220, rects[0].Height); 261Assert.Equal(220, rects[0].Height); 273Assert.Equal(220, rects[0].Height); 372AssertEquals(msg + ".compare.Height", b1.Height, b2.Height); 384Assert.Equal(16, bounds.Height); 399Assert.Equal(16, bounds.Height); 414Assert.Equal(16, bounds.Height); 445AssertEquals(msg + ".Height", h, bounds.Height, 1); 1905Assert.Equal(regions[0].GetBounds(g).Height, regions[1].GetBounds(g).Height); 1910Assert.Equal(regions[0].GetBounds(g).Height, regions[1].GetBounds(g).Height); 2035Assert.Equal((double)sb.Height, zb.Height); 2047Assert.Equal((double)mb.Height, zb.Height); 2065Assert.Equal(8388608.0f, mb.Height); 2076Assert.Equal(8388608.0f, mb.Height); 2206Assert.Equal(100, noclip.Height); 2214Assert.Equal(32.0, clip.Height, 4); 2221Assert.Equal(32.0, rotclip.Height, 4); 2239Assert.Equal(100, noclip.Height); 2247Assert.Equal(200, clipbound.Height); 2253Assert.Equal(100, clip.Height); 2260Assert.Equal(200.0, rotclipbound.Height, 4); 2266Assert.Equal(100.0, rotclip.Height, 4); 2284Assert.Equal(50.0, vcb.Height, 4); 2291Assert.Equal(100.0, rvcb.Height, 4); 2303Assert.Equal(50, vcb.Height); 2310Assert.Equal(100, svcb.Height); 2322Assert.Equal(50, vcb.Height); 2329Assert.Equal(50, tvcb.Height);
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (1)
44Assert.Equal(float.NaN, brush.Rectangle.Height);
System\Drawing\Printing\PrinterSettingsTests.cs (8)
461Assert.Equal((double)printerSettings.DefaultPageSettings.PrintableArea.Height, graphic.VisibleClipBounds.Height, 0); 471Assert.Equal((double)printerSettings.DefaultPageSettings.PrintableArea.Height, graphic.VisibleClipBounds.Height, 0); 484Assert.Equal((double)printerSettings.DefaultPageSettings.PrintableArea.Height, graphic.VisibleClipBounds.Height, 0); 495Assert.Equal((double)printerSettings.DefaultPageSettings.PrintableArea.Height, graphic.VisibleClipBounds.Height, 0);
System\Drawing\RegionTests.cs (5)
430region.Complement(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 837region.Exclude(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 1170region.Intersect(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 1733region.Union(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 2091region.Xor(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height));
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\Core\BinaryFormat\BinaryFormatWriter.cs (1)
231value.Height).Write(writer);
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1075if (requiredSize.Height < focusRectangle.Height)
System.Windows.Forms.Primitives.TestUtilities (3)
FluentAssertions\FluentAssertExtensions.cs (3)
41parent.Subject.Height.Should().BeApproximately(expectedValue.Height, precision, because, becauseArgs); 63&& ComparisonHelpers.EqualsFloating(expected.Height, actual.Height, precision),