25 references to BRUSH_STYLE
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
366
lbStyle =
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)]
19
Assert.Equal((
BRUSH_STYLE
)brushStyle, logBrush.lbStyle);
System.Windows.Forms.Primitives.TestUtilities (8)
Metafiles\RecordTypes\EMRCREATEBRUSHINDIRECT.cs (1)
24
public
BRUSH_STYLE
lbStyle;
Metafiles\RecordTypes\EMREXTCREATEPEN.cs (1)
32
public
BRUSH_STYLE
elpBrushStyle;
Metafiles\Validators\BrushStyleValidator.cs (2)
10
private readonly
BRUSH_STYLE
_brushStyle;
11
public BrushStyleValidator(
BRUSH_STYLE
brushStyle) => _brushStyle = brushStyle;
Metafiles\Validators\BrushValidator.cs (2)
13
private readonly
BRUSH_STYLE
_brushStyle;
15
public BrushValidator(Color brushColor,
BRUSH_STYLE
brushStyle)
Metafiles\Validators\State.cs (2)
14
internal static IStateValidator Brush(Color brushColor,
BRUSH_STYLE
brushStyle)
17
internal static IStateValidator BrushStyle(
BRUSH_STYLE
brushStyle) => new BrushStyleValidator(brushStyle);
System.Windows.Forms.Tests (11)
System\Windows\Forms\ButtonRenderingTests.cs (1)
247
State.BrushStyle(
BRUSH_STYLE
.BS_NULL), // Regressed in https://github.com/dotnet/winforms/pull/3667
System\Windows\Forms\ControlPaintTests.Rendering.cs (2)
342
State.Brush(Color.Green,
BRUSH_STYLE
.BS_SOLID)));
370
State.Brush(Color.Pink,
BRUSH_STYLE
.BS_SOLID)));
System\Windows\Forms\DataGridViewTests.Rendering.cs (3)
59
State.Brush(SystemColors.ButtonShadow,
BRUSH_STYLE
.BS_SOLID),
90
State.Brush(SystemColors.ButtonHighlight,
BRUSH_STYLE
.BS_SOLID),
97
State.Brush(Color.Empty,
BRUSH_STYLE
.BS_NULL),
System\Windows\Forms\ToolStripButtonTests.Rendering.cs (5)
62
State.Brush(Color.Blue,
BRUSH_STYLE
.BS_SOLID)));
87
State.Brush(SystemColors.Highlight,
BRUSH_STYLE
.BS_SOLID)),
113
State.Brush(SystemColors.Highlight,
BRUSH_STYLE
.BS_SOLID)),
139
State.Brush(SystemColors.Highlight,
BRUSH_STYLE
.BS_SOLID)),
166
State.Brush(SystemColors.Highlight,
BRUSH_STYLE
.BS_SOLID)),