116 writes to Brush
PresentationCore (2)
System\Windows\Media\Pen.cs (2)
43
Brush
= brush;
75
Brush
= brush;
PresentationFramework (11)
MS\Internal\Documents\TextBoxLine.cs (1)
220
ctx.DrawGeometry(selectionBrush, new Pen() {
Brush
= selectionBrush }, selectionGeometry);
MS\Internal\PtsHost\ParagraphVisual.cs (4)
89
Brush
= _borderBrush,
113
Brush
= _borderBrush,
126
Brush
= _borderBrush,
139
Brush
= _borderBrush,
System\Windows\Controls\Border.cs (4)
407
Brush
= borderBrush
472
Brush
= borderBrush
506
Brush
= borderBrush
539
Brush
= borderBrush
System\Windows\Documents\CompositionAdorner.cs (1)
245
pen.
Brush
= new SolidColorBrush(compositionLine.LineColor);
System\Windows\Shapes\Shape.cs (1)
489
Brush
= Stroke,
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
923
Brush
= new SolidColorBrush(Colors.White)
949
Brush
= new SolidColorBrush(Colors.White)
976
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9))
1001
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55))
1037
temp.
Brush
= brush;
1074
temp.
Brush
= brush;
1108
temp.
Brush
= brush;
1418
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1442
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
1466
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
1502
temp.
Brush
= brush;
1537
temp.
Brush
= brush;
1572
temp.
Brush
= brush;
1607
temp.
Brush
= brush;
1642
temp.
Brush
= brush;
1677
temp.
Brush
= brush;
1712
temp.
Brush
= brush;
1747
temp.
Brush
= brush;
1782
temp.
Brush
= brush;
1816
temp.
Brush
= brush;
1850
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
821
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
845
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
870
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
953
temp.
Brush
= brush;
977
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF))
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
547
temp.
Brush
= brush;
584
temp.
Brush
= brush;
608
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1108
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95))
1134
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1160
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A))
1241
Brush
= new SolidColorBrush(Colors.White)
1316
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF))
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
923
Brush
= new SolidColorBrush(Colors.White)
949
Brush
= new SolidColorBrush(Colors.White)
976
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9))
1001
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55))
1037
temp.
Brush
= brush;
1074
temp.
Brush
= brush;
1108
temp.
Brush
= brush;
1418
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1442
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
1466
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
1502
temp.
Brush
= brush;
1537
temp.
Brush
= brush;
1572
temp.
Brush
= brush;
1607
temp.
Brush
= brush;
1642
temp.
Brush
= brush;
1677
temp.
Brush
= brush;
1712
temp.
Brush
= brush;
1747
temp.
Brush
= brush;
1782
temp.
Brush
= brush;
1816
temp.
Brush
= brush;
1850
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
821
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
845
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B))
870
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
953
temp.
Brush
= brush;
977
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF))
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
547
temp.
Brush
= brush;
584
temp.
Brush
= brush;
608
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5))
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1108
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95))
1134
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1))
1160
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A))
1241
Brush
= new SolidColorBrush(Colors.White)
1316
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF))
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
369
Brush
= new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3))
395
Brush
= new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4))
421
Brush
= new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94))
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1938
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
1962
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
1986
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2))
2010
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65))
2034
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48))
2093
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF))
2117
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6))
2143
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4))
2167
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF))
2191
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA))
2215
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D))
2239
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96))
2264
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63))
2288
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
2312
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
2337
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
2420
temp.
Brush
= brush;
2454
temp.
Brush
= brush;
2488
temp.
Brush
= brush;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
678
Brush
= CommonDisabledBorder
713
temp.
Brush
= brush;
747
temp.
Brush
= brush;
PresentationFramework.Royale (7)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1033
temp.
Brush
= brush;
1056
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1))
1080
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E))
1120
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF))
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
678
Brush
= CommonDisabledBorder
713
temp.
Brush
= brush;
747
temp.
Brush
= brush;
ReachFramework (3)
AlphaFlattener\BrushProxy.cs (1)
191
p.
Brush
= _brush.GetRealBrush();
AlphaFlattener\Flattener.cs (1)
1389
pen.
Brush
= strokeBrush;
Serialization\DrawingContextFlattener.cs (1)
232
pen.
Brush
= b;
143 references to Brush
PresentationCore (4)
System\Windows\Media\Generated\Pen.cs (3)
369
Brush vBrush =
Brush
;
411
Brush vBrush =
Brush
;
433
Brush vBrush =
Brush
;
System\Windows\Media\Pen.cs (1)
144
return (pen != null) && (pen.
Brush
!= null);
PresentationFramework (1)
System\Windows\Controls\TextRangeAdaptor.cs (1)
1313
color = ColorFromBrush(decor.Pen.
Brush
);
PresentationFramework.Aero (58)
Microsoft\Windows\Themes\BulletChrome.cs (27)
127
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
140
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
178
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
186
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
194
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
213
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
228
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
271
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
275
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
280
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
298
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
347
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
355
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
374
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
388
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
412
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
445
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
514
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
521
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
530
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
532
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
545
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
823
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
1128
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2182
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2187
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2338
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
116
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
132
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
152
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
160
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
212
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
241
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
253
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
304
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
309
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
323
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
340
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
344
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
352
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
575
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
918
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
141
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
156
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
447
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
652
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
122
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
125
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
128
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
164
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
165
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
166
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
231
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
252
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
329
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1207
_localResources.OuterBorder.
Brush
.Opacity = 0;
1283
_localResources.InnerBorder.
Brush
.Opacity = 0;
1358
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Aero2 (58)
Microsoft\Windows\Themes\BulletChrome.cs (27)
127
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
140
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
178
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
186
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
194
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
213
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
228
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
271
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
275
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
280
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
298
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
347
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
355
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
374
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
388
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
412
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
445
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
514
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
521
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
530
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
532
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
545
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
823
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
1128
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2182
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2187
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2338
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
116
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
132
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
152
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
160
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
212
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
241
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
253
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
304
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
309
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
323
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
340
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
344
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
352
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
575
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
918
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
141
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
156
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
447
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
652
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (12)
122
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
125
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
128
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
164
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
165
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
166
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
231
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
252
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
329
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1207
_localResources.OuterBorder.
Brush
.Opacity = 0;
1283
_localResources.InnerBorder.
Brush
.Opacity = 0;
1358
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
671
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
408
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
530
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
408
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
ReachFramework (17)
AlphaFlattener\BrushProxy.cs (4)
270
Debug.Assert(pen.
Brush
!= null, "pen expected to have a brush");
277
BrushProxy brush = BrushProxy.CreateBrush(pen.
Brush
, bounds);
303
Debug.Assert(pen.
Brush
!= null, "pen expected to have a brush");
310
BrushProxy brush = BrushProxy.CreateUserBrush(pen.
Brush
, bounds, brushToWorldTransformHint, treeWalkProgress);
AlphaFlattener\DrawingContext.cs (1)
643
b = p.
Brush
;
AlphaFlattener\MetroDevice.cs (4)
145
if (Utility.IsTransparent(_opacity) || ((brush == null) && (pen == null || pen.
Brush
== null)) || (geometry == null))
186
if ((pen != null) && (pen.
Brush
!= null))
188
if (!(pen.
Brush
is SolidColorBrush))
221
if ((pen != null) && (pen.
Brush
!= null))
AlphaFlattener\Primitive.cs (1)
340
if ((gd.Pen != null) && (gd.Pen.
Brush
!= null))
Serialization\DrawingContextFlattener.cs (4)
221
Brush b = ReduceBrush(pen.
Brush
, bounds);
228
if (! Object.ReferenceEquals(b, pen.
Brush
))
252
if ((pen != null) && (pen.
Brush
!= null))
256
if (VisualSerializer.NeedBounds(pen.
Brush
))
Serialization\VisualSerializer.cs (3)
915
WriteBrush("Stroke", pen.
Brush
, bounds);
1157
if ((pen.
Brush
!= null) && !BrushProxy.IsEmpty(pen.
Brush
))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
241
separatorPen.
Brush
.Opacity = _separatorOpacity;