13 references to HatchBrush
System.Drawing.Common.Tests (8)
System\Drawing\Drawing2D\HatchBrushTests.cs (8)
37using HatchBrush brush = new(hatchStyle, foreColor, backColor); 53AssertExtensions.Throws<ArgumentException>("hatchstyle", null, () => new HatchBrush(hatchStyle, Color.Empty, Color.Empty)); 59using HatchBrush brush = new(HatchStyle.DarkDownwardDiagonal, Color.Magenta, Color.Peru); 82HatchBrush brush = new(HatchStyle.DarkHorizontal, Color.PeachPuff, Color.Purple); 91HatchBrush brush = new(HatchStyle.DarkHorizontal, Color.PeachPuff, Color.Purple); 100HatchBrush brush = new(HatchStyle.DarkHorizontal, Color.PeachPuff, Color.Purple); 109HatchBrush brush = new(HatchStyle.DarkHorizontal, Color.PeachPuff, Color.Purple); 118HatchBrush brush = new(HatchStyle.DarkHorizontal, Color.PeachPuff, Color.Purple);
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\ComponentTray.cs (2)
1443selectionBorderBrush = new HatchBrush(HatchStyle.Percent50, SystemColors.HighlightText, Color.Transparent); 1447selectionBorderBrush = new HatchBrush(HatchStyle.Percent50, SystemColors.ControlDarkDark, Color.Transparent);
System\Windows\Forms\Design\DesignerUtils.cs (3)
25new(HatchStyle.Percent50, SystemColors.ControlDarkDark, SystemColors.ControlDarkDark); 170s_selectionBorderBrush = new HatchBrush(HatchStyle.Percent50, SystemColors.ControlDarkDark, SystemColors.ControlDarkDark); 236FrameStyle.Dashed => new HatchBrush(HatchStyle.Percent50, color, Color.Transparent),