116 writes to Brush
PresentationCore (2)
System\Windows\Media\Pen.cs (2)
44
Brush
= brush;
76
Brush
= brush;
PresentationFramework (11)
MS\Internal\Documents\TextBoxLine.cs (1)
221
ctx.DrawGeometry(selectionBrush, new Pen() {
Brush
= selectionBrush }, selectionGeometry);
MS\Internal\PtsHost\ParagraphVisual.cs (4)
90
Brush
= _borderBrush,
114
Brush
= _borderBrush,
127
Brush
= _borderBrush,
140
Brush
= _borderBrush,
System\Windows\Controls\Border.cs (4)
408
Brush
= borderBrush
473
Brush
= borderBrush
507
Brush
= borderBrush
540
Brush
= borderBrush
System\Windows\Documents\CompositionAdorner.cs (1)
246
pen.
Brush
= new SolidColorBrush(compositionLine.LineColor);
System\Windows\Shapes\Shape.cs (1)
490
Brush
= Stroke,
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
924
Brush
= new SolidColorBrush(Colors.White)
950
Brush
= new SolidColorBrush(Colors.White)
977
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9))
1002
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55))
1038
temp.
Brush
= brush;
1075
temp.
Brush
= brush;
1109
temp.
Brush
= brush;
1419
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1443
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
1467
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
1503
temp.
Brush
= brush;
1538
temp.
Brush
= brush;
1573
temp.
Brush
= brush;
1608
temp.
Brush
= brush;
1643
temp.
Brush
= brush;
1678
temp.
Brush
= brush;
1713
temp.
Brush
= brush;
1748
temp.
Brush
= brush;
1783
temp.
Brush
= brush;
1817
temp.
Brush
= brush;
1851
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
825
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
849
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
874
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
957
temp.
Brush
= brush;
981
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF))
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
551
temp.
Brush
= brush;
588
temp.
Brush
= brush;
612
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1109
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95))
1135
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1161
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A))
1242
Brush
= new SolidColorBrush(Colors.White)
1317
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF))
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
924
Brush
= new SolidColorBrush(Colors.White)
950
Brush
= new SolidColorBrush(Colors.White)
977
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9))
1002
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55))
1038
temp.
Brush
= brush;
1075
temp.
Brush
= brush;
1109
temp.
Brush
= brush;
1419
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1443
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
1467
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
1503
temp.
Brush
= brush;
1538
temp.
Brush
= brush;
1573
temp.
Brush
= brush;
1608
temp.
Brush
= brush;
1643
temp.
Brush
= brush;
1678
temp.
Brush
= brush;
1713
temp.
Brush
= brush;
1748
temp.
Brush
= brush;
1783
temp.
Brush
= brush;
1817
temp.
Brush
= brush;
1851
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
825
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
849
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
874
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
957
temp.
Brush
= brush;
981
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF))
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
551
temp.
Brush
= brush;
588
temp.
Brush
= brush;
612
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1109
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95))
1135
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1161
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A))
1242
Brush
= new SolidColorBrush(Colors.White)
1317
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF))
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
370
Brush
= new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3))
396
Brush
= new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4))
422
Brush
= new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94))
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1939
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
1963
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
1987
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2))
2011
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65))
2035
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48))
2094
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF))
2118
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6))
2144
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4))
2168
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF))
2192
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA))
2216
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D))
2240
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96))
2265
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63))
2289
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
2313
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
2338
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
2421
temp.
Brush
= brush;
2455
temp.
Brush
= brush;
2489
temp.
Brush
= brush;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
681
Brush
= CommonDisabledBorder
716
temp.
Brush
= brush;
750
temp.
Brush
= brush;
PresentationFramework.Royale (7)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1034
temp.
Brush
= brush;
1057
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1))
1081
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E))
1121
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
681
Brush
= CommonDisabledBorder
716
temp.
Brush
= brush;
750
temp.
Brush
= brush;
ReachFramework (3)
AlphaFlattener\BrushProxy.cs (1)
192
p.
Brush
= _brush.GetRealBrush();
AlphaFlattener\Flattener.cs (1)
1396
pen.
Brush
= strokeBrush;
Serialization\DrawingContextFlattener.cs (1)
233
pen.
Brush
= b;
144 references to Brush
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
116
return (Brush)(properties["Foreground"] ?? ((Pen)properties["MarkerFormatDefinition/BorderId"]).
Brush
);
PresentationCore (4)
System\Windows\Media\Generated\Pen.cs (3)
352
Brush vBrush =
Brush
;
394
Brush vBrush =
Brush
;
416
Brush vBrush =
Brush
;
System\Windows\Media\Pen.cs (1)
148
return (pen != null) && (pen.
Brush
!= null);
PresentationFramework (1)
System\Windows\Controls\TextRangeAdaptor.cs (1)
1314
color = ColorFromBrush(decor.Pen.
Brush
);
PresentationFramework.Aero (58)
Microsoft\Windows\Themes\BulletChrome.cs (27)
128
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
141
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
179
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
187
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
195
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
214
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
229
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
272
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
276
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
281
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
299
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
348
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
356
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
375
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
389
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
413
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
446
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
515
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
522
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
531
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
533
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
546
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
824
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
1129
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2183
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2188
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2339
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
117
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
133
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
153
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
161
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
213
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
242
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
254
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
305
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
310
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
324
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
341
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
345
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
353
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
579
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
922
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
142
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
157
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
451
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
656
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
123
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
126
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
129
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
165
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
166
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
167
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
232
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
253
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
330
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1208
_localResources.OuterBorder.
Brush
.Opacity = 0;
1284
_localResources.InnerBorder.
Brush
.Opacity = 0;
1359
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Aero2 (58)
Microsoft\Windows\Themes\BulletChrome.cs (27)
128
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
141
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
179
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
187
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
195
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
214
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
229
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
272
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
276
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
281
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
299
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
348
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
356
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
375
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
389
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
413
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
446
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
515
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
522
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
531
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
533
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
546
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
824
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
1129
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2183
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2188
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2339
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
117
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
133
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
153
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
161
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
213
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
242
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
254
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
305
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
310
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
324
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
341
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
345
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
353
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
579
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
922
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
142
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
157
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
451
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
656
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
123
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
126
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
129
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
165
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
166
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
167
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
232
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
253
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
330
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1208
_localResources.OuterBorder.
Brush
.Opacity = 0;
1284
_localResources.InnerBorder.
Brush
.Opacity = 0;
1359
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
675
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
411
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
534
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
411
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
ReachFramework (17)
AlphaFlattener\BrushProxy.cs (4)
271
Debug.Assert(pen.
Brush
!= null, "pen expected to have a brush");
278
BrushProxy brush = BrushProxy.CreateBrush(pen.
Brush
, bounds);
304
Debug.Assert(pen.
Brush
!= null, "pen expected to have a brush");
311
BrushProxy brush = BrushProxy.CreateUserBrush(pen.
Brush
, bounds, brushToWorldTransformHint, treeWalkProgress);
AlphaFlattener\DrawingContext.cs (1)
644
b = p.
Brush
;
AlphaFlattener\MetroDevice.cs (4)
146
if (Utility.IsTransparent(_opacity) || ((brush == null) && (pen == null || pen.
Brush
== null)) || (geometry == null))
187
if ((pen != null) && (pen.
Brush
!= null))
189
if (!(pen.
Brush
is SolidColorBrush))
222
if ((pen != null) && (pen.
Brush
!= null))
AlphaFlattener\Primitive.cs (1)
341
if ((gd.Pen != null) && (gd.Pen.
Brush
!= null))
Serialization\DrawingContextFlattener.cs (4)
222
Brush b = ReduceBrush(pen.
Brush
, bounds);
229
if (! Object.ReferenceEquals(b, pen.
Brush
))
253
if ((pen != null) && (pen.
Brush
!= null))
257
if (VisualSerializer.NeedBounds(pen.
Brush
))
Serialization\VisualSerializer.cs (3)
916
WriteBrush("Stroke", pen.
Brush
, bounds);
1158
if ((pen.
Brush
!= null) && !BrushProxy.IsEmpty(pen.
Brush
))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
242
separatorPen.
Brush
.Opacity = _separatorOpacity;