7 references to ForegroundColor
System.Drawing.Common.Tests (7)
System\Drawing\Drawing2D\HatchBrushTests.cs (7)
21
Assert.NotEqual(foreColor, brush.
ForegroundColor
);
22
Assert.Equal(foreColor.ToArgb(), brush.
ForegroundColor
.ToArgb());
40
Assert.NotEqual(foreColor, brush.
ForegroundColor
);
41
Assert.Equal(foreColor.ToArgb(), brush.
ForegroundColor
.ToArgb());
64
Assert.Equal(brush.
ForegroundColor
, clone.
ForegroundColor
);
103
AssertExtensions.Throws<ArgumentException>(null, () => brush.
ForegroundColor
);