25 references to BRUSH_STYLE
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
366lbStyle = BRUSH_STYLE.BS_PATTERN,
System.Windows.Forms.Primitives (1)
Windows.Win32.LOGBRUSH.g.cs (1)
32 internal winmdroot.Graphics.Gdi.BRUSH_STYLE lbStyle;
System.Windows.Forms.Primitives.Tests (4)
Interop\Gdi32\GetStockObjectTests.cs (4)
9[InlineData((int)GET_STOCK_OBJECT_FLAGS.BLACK_BRUSH, 0x00000000, (uint)BRUSH_STYLE.BS_SOLID)] 10[InlineData((int)GET_STOCK_OBJECT_FLAGS.NULL_BRUSH, 0x00000000, (uint)BRUSH_STYLE.BS_HOLLOW)] 11[InlineData((int)GET_STOCK_OBJECT_FLAGS.WHITE_BRUSH, 0x00FFFFFF, (uint)BRUSH_STYLE.BS_SOLID)] 19Assert.Equal((BRUSH_STYLE)brushStyle, logBrush.lbStyle);
System.Windows.Forms.Primitives.TestUtilities (8)
Metafiles\RecordTypes\EMRCREATEBRUSHINDIRECT.cs (1)
24public BRUSH_STYLE lbStyle;
Metafiles\RecordTypes\EMREXTCREATEPEN.cs (1)
32public BRUSH_STYLE elpBrushStyle;
Metafiles\Validators\BrushStyleValidator.cs (2)
10private readonly BRUSH_STYLE _brushStyle; 11public BrushStyleValidator(BRUSH_STYLE brushStyle) => _brushStyle = brushStyle;
Metafiles\Validators\BrushValidator.cs (2)
13private readonly BRUSH_STYLE _brushStyle; 15public BrushValidator(Color brushColor, BRUSH_STYLE brushStyle)
Metafiles\Validators\State.cs (2)
14internal static IStateValidator Brush(Color brushColor, BRUSH_STYLE brushStyle) 17internal static IStateValidator BrushStyle(BRUSH_STYLE brushStyle) => new BrushStyleValidator(brushStyle);
System.Windows.Forms.Tests (11)
System\Windows\Forms\ButtonRenderingTests.cs (1)
247State.BrushStyle(BRUSH_STYLE.BS_NULL), // Regressed in https://github.com/dotnet/winforms/pull/3667
System\Windows\Forms\ControlPaintTests.Rendering.cs (2)
342State.Brush(Color.Green, BRUSH_STYLE.BS_SOLID))); 370State.Brush(Color.Pink, BRUSH_STYLE.BS_SOLID)));
System\Windows\Forms\DataGridViewTests.Rendering.cs (3)
59State.Brush(SystemColors.ButtonShadow, BRUSH_STYLE.BS_SOLID), 90State.Brush(SystemColors.ButtonHighlight, BRUSH_STYLE.BS_SOLID), 97State.Brush(Color.Empty, BRUSH_STYLE.BS_NULL),
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (5)
62State.Brush(Color.Blue, BRUSH_STYLE.BS_SOLID))); 87State.Brush(SystemColors.Highlight, BRUSH_STYLE.BS_SOLID)), 113State.Brush(SystemColors.Highlight, BRUSH_STYLE.BS_SOLID)), 139State.Brush(SystemColors.Highlight, BRUSH_STYLE.BS_SOLID)), 166State.Brush(SystemColors.Highlight, BRUSH_STYLE.BS_SOLID)),