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