6 references to Custom
System.Drawing.Common.Tests (6)
System\Drawing\PenTests.cs (5)
538Assert.Equal(DashStyle.Custom, pen.DashStyle); 590[InlineData(DashStyle.Custom, new float[] { 1 })] 614pen.DashStyle = DashStyle.Custom; 616Assert.Equal(DashStyle.Custom, pen.DashStyle); 622[InlineData(DashStyle.Custom + 1)]
System\Drawing\SystemPensTest.cs (1)
68AssertExtensions.Throws<ArgumentException>(null, () => pen.DashStyle = DashStyle.Custom);