6 references to BackgroundColor
System.Drawing.Common.Tests (6)
System\Drawing\Drawing2D\HatchBrushTests.cs (6)
24
Assert.Equal(Color.FromArgb(255, 0, 0, 0), brush.
BackgroundColor
);
43
Assert.NotEqual(backColor, brush.
BackgroundColor
);
44
Assert.Equal(backColor.ToArgb(), brush.
BackgroundColor
.ToArgb());
65
Assert.Equal(brush.
BackgroundColor
, clone.
BackgroundColor
);
112
AssertExtensions.Throws<ArgumentException>(null, () => brush.
BackgroundColor
);