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