116 writes to Brush
PresentationCore (2)
System\Windows\Media\Pen.cs (2)
52
Brush
= brush;
84
Brush
= brush;
PresentationFramework (11)
MS\Internal\Documents\TextBoxLine.cs (1)
228
ctx.DrawGeometry(selectionBrush, new Pen() {
Brush
= selectionBrush }, selectionGeometry);
MS\Internal\PtsHost\ParagraphVisual.cs (4)
90
pen.
Brush
= _borderBrush;
112
pen.
Brush
= _borderBrush;
123
pen.
Brush
= _borderBrush;
134
pen.
Brush
= _borderBrush;
System\Windows\Controls\Border.cs (4)
411
pen.
Brush
= borderBrush;
474
pen.
Brush
= borderBrush;
506
pen.
Brush
= borderBrush;
537
pen.
Brush
= borderBrush;
System\Windows\Documents\CompositionAdorner.cs (1)
249
pen.
Brush
= new SolidColorBrush(compositionLine.LineColor);
System\Windows\Shapes\Shape.cs (1)
494
_pen.
Brush
= Stroke;
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
913
temp.
Brush
= new SolidColorBrush(Colors.White);
937
temp.
Brush
= new SolidColorBrush(Colors.White);
960
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9));
983
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55));
1014
temp.
Brush
= brush;
1047
temp.
Brush
= brush;
1077
temp.
Brush
= brush;
1380
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1402
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
1424
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
1456
temp.
Brush
= brush;
1488
temp.
Brush
= brush;
1520
temp.
Brush
= brush;
1552
temp.
Brush
= brush;
1584
temp.
Brush
= brush;
1616
temp.
Brush
= brush;
1648
temp.
Brush
= brush;
1680
temp.
Brush
= brush;
1712
temp.
Brush
= brush;
1743
temp.
Brush
= brush;
1774
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
817
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
839
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
862
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
941
temp.
Brush
= brush;
964
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
550
temp.
Brush
= brush;
585
temp.
Brush
= brush;
608
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1083
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95));
1107
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1131
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A));
1210
temp.
Brush
= new SolidColorBrush(Colors.White);
1281
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF));
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
913
temp.
Brush
= new SolidColorBrush(Colors.White);
937
temp.
Brush
= new SolidColorBrush(Colors.White);
960
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9));
983
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55));
1014
temp.
Brush
= brush;
1047
temp.
Brush
= brush;
1077
temp.
Brush
= brush;
1380
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1402
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
1424
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
1456
temp.
Brush
= brush;
1488
temp.
Brush
= brush;
1520
temp.
Brush
= brush;
1552
temp.
Brush
= brush;
1584
temp.
Brush
= brush;
1616
temp.
Brush
= brush;
1648
temp.
Brush
= brush;
1680
temp.
Brush
= brush;
1712
temp.
Brush
= brush;
1743
temp.
Brush
= brush;
1774
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
817
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
839
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
862
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
941
temp.
Brush
= brush;
964
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
550
temp.
Brush
= brush;
585
temp.
Brush
= brush;
608
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1083
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95));
1107
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1131
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A));
1210
temp.
Brush
= new SolidColorBrush(Colors.White);
1281
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF));
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
375
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3));
399
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4));
423
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94));
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1888
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
1910
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
1932
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2));
1954
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65));
1976
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48));
2033
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF));
2055
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6));
2079
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4));
2101
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF));
2123
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA));
2145
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D));
2167
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96));
2190
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63));
2212
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2234
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2257
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2337
temp.
Brush
= brush;
2369
temp.
Brush
= brush;
2401
temp.
Brush
= brush;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
681
temp.
Brush
= CommonDisabledBorder;
712
temp.
Brush
= brush;
743
temp.
Brush
= brush;
PresentationFramework.Royale (7)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1012
temp.
Brush
= brush;
1034
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1));
1056
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E));
1094
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
681
temp.
Brush
= CommonDisabledBorder;
712
temp.
Brush
= brush;
743
temp.
Brush
= brush;
ReachFramework (3)
AlphaFlattener\BrushProxy.cs (1)
196
p.
Brush
= _brush.GetRealBrush();
AlphaFlattener\Flattener.cs (1)
1392
pen.
Brush
= strokeBrush;
Serialization\DrawingContextFlattener.cs (1)
243
pen.
Brush
= b;
150 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)
379
Brush vBrush =
Brush
;
421
Brush vBrush =
Brush
;
443
Brush vBrush =
Brush
;
System\Windows\Media\Pen.cs (1)
156
return (pen != null) && (pen.
Brush
!= null);
PresentationFramework (1)
System\Windows\Controls\TextRangeAdaptor.cs (1)
1316
color = ColorFromBrush(decor.Pen.
Brush
);
PresentationFramework.Aero (61)
Microsoft\Windows\Themes\BulletChrome.cs (28)
132
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
145
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
183
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
189
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
197
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
216
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
231
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
274
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
278
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
283
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
301
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
350
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
358
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
377
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
391
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
415
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
446
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
513
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
518
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
525
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
527
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
538
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
816
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
938
temp.
Brush
.Opacity = 0.7;
1097
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2092
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2097
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2248
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
126
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
142
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
160
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
166
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
218
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
247
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
257
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
308
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
313
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
327
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
342
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
346
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
352
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
577
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
909
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
148
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
161
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
455
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
651
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (14)
128
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
131
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
134
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
166
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
167
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
168
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
229
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
250
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
327
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1177
_localResources.OuterBorder.
Brush
.Opacity = 0;
1211
temp.
Brush
.Opacity = 0.63;
1249
_localResources.InnerBorder.
Brush
.Opacity = 0;
1282
temp.
Brush
.Opacity = 0.5;
1320
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Aero2 (61)
Microsoft\Windows\Themes\BulletChrome.cs (28)
132
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
145
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
183
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
189
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
197
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
216
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
231
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
274
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
278
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
283
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
301
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
350
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
358
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
377
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
391
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
415
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
446
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
513
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
518
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
525
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
527
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
538
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
816
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
938
temp.
Brush
.Opacity = 0.7;
1097
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2092
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2097
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2248
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
126
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
142
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
160
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
166
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
218
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
247
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
257
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
308
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
313
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
327
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
342
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
346
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
352
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
577
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
909
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
148
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
161
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
455
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
651
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (14)
128
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
131
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
134
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
166
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
167
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
168
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
229
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
250
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
327
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1177
_localResources.OuterBorder.
Brush
.Opacity = 0;
1211
temp.
Brush
.Opacity = 0.63;
1249
_localResources.InnerBorder.
Brush
.Opacity = 0;
1282
temp.
Brush
.Opacity = 0.5;
1320
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
677
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
415
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
536
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
415
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
ReachFramework (17)
AlphaFlattener\BrushProxy.cs (4)
274
Debug.Assert(pen.
Brush
!= null, "pen expected to have a brush");
281
BrushProxy brush = BrushProxy.CreateBrush(pen.
Brush
, bounds);
307
Debug.Assert(pen.
Brush
!= null, "pen expected to have a brush");
314
BrushProxy brush = BrushProxy.CreateUserBrush(pen.
Brush
, bounds, brushToWorldTransformHint, treeWalkProgress);
AlphaFlattener\DrawingContext.cs (1)
646
b = p.
Brush
;
AlphaFlattener\MetroDevice.cs (4)
152
if (Utility.IsTransparent(_opacity) || ((brush == null) && (pen == null || pen.
Brush
== null)) || (geometry == null))
192
if ((pen != null) && (pen.
Brush
!= null))
194
if (!(pen.
Brush
is SolidColorBrush))
227
if ((pen != null) && (pen.
Brush
!= null))
AlphaFlattener\Primitive.cs (1)
346
if ((gd.Pen != null) && (gd.Pen.
Brush
!= null))
Serialization\DrawingContextFlattener.cs (4)
232
Brush b = ReduceBrush(pen.
Brush
, bounds);
239
if (! Object.ReferenceEquals(b, pen.
Brush
))
263
if ((pen != null) && (pen.
Brush
!= null))
267
if (VisualSerializer.NeedBounds(pen.
Brush
))
Serialization\VisualSerializer.cs (3)
923
WriteBrush("Stroke", pen.
Brush
, bounds);
1165
if ((pen.
Brush
!= null) && !BrushProxy.IsEmpty(pen.
Brush
))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
245
separatorPen.
Brush
.Opacity = _separatorOpacity;