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)
89
pen.
Brush
= _borderBrush;
111
pen.
Brush
= _borderBrush;
122
pen.
Brush
= _borderBrush;
133
pen.
Brush
= _borderBrush;
System\Windows\Controls\Border.cs (4)
407
pen.
Brush
= borderBrush;
470
pen.
Brush
= borderBrush;
502
pen.
Brush
= borderBrush;
533
pen.
Brush
= borderBrush;
System\Windows\Documents\CompositionAdorner.cs (1)
246
pen.
Brush
= new SolidColorBrush(compositionLine.LineColor);
System\Windows\Shapes\Shape.cs (1)
489
_pen.
Brush
= Stroke;
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
907
temp.
Brush
= new SolidColorBrush(Colors.White);
931
temp.
Brush
= new SolidColorBrush(Colors.White);
954
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9));
977
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55));
1008
temp.
Brush
= brush;
1041
temp.
Brush
= brush;
1071
temp.
Brush
= brush;
1374
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1396
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
1418
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
1450
temp.
Brush
= brush;
1482
temp.
Brush
= brush;
1514
temp.
Brush
= brush;
1546
temp.
Brush
= brush;
1578
temp.
Brush
= brush;
1610
temp.
Brush
= brush;
1642
temp.
Brush
= brush;
1674
temp.
Brush
= brush;
1706
temp.
Brush
= brush;
1737
temp.
Brush
= brush;
1768
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
808
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
830
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
853
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
932
temp.
Brush
= brush;
955
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
544
temp.
Brush
= brush;
579
temp.
Brush
= brush;
602
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1078
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95));
1102
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1126
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A));
1205
temp.
Brush
= new SolidColorBrush(Colors.White);
1276
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF));
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
907
temp.
Brush
= new SolidColorBrush(Colors.White);
931
temp.
Brush
= new SolidColorBrush(Colors.White);
954
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9));
977
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55));
1008
temp.
Brush
= brush;
1041
temp.
Brush
= brush;
1071
temp.
Brush
= brush;
1374
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1396
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
1418
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
1450
temp.
Brush
= brush;
1482
temp.
Brush
= brush;
1514
temp.
Brush
= brush;
1546
temp.
Brush
= brush;
1578
temp.
Brush
= brush;
1610
temp.
Brush
= brush;
1642
temp.
Brush
= brush;
1674
temp.
Brush
= brush;
1706
temp.
Brush
= brush;
1737
temp.
Brush
= brush;
1768
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
808
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
830
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
853
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
932
temp.
Brush
= brush;
955
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
544
temp.
Brush
= brush;
579
temp.
Brush
= brush;
602
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1078
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95));
1102
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1126
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A));
1205
temp.
Brush
= new SolidColorBrush(Colors.White);
1276
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF));
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
369
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3));
393
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4));
417
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94));
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1884
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
1906
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
1928
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2));
1950
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65));
1972
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48));
2029
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF));
2051
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6));
2075
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4));
2097
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF));
2119
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA));
2141
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D));
2163
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96));
2186
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63));
2208
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2230
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2253
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2333
temp.
Brush
= brush;
2365
temp.
Brush
= brush;
2397
temp.
Brush
= brush;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
677
temp.
Brush
= CommonDisabledBorder;
708
temp.
Brush
= brush;
739
temp.
Brush
= brush;
PresentationFramework.Royale (7)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1008
temp.
Brush
= brush;
1030
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1));
1052
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E));
1090
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
677
temp.
Brush
= CommonDisabledBorder;
708
temp.
Brush
= brush;
739
temp.
Brush
= brush;
ReachFramework (3)
AlphaFlattener\BrushProxy.cs (1)
192
p.
Brush
= _brush.GetRealBrush();
AlphaFlattener\Flattener.cs (1)
1387
pen.
Brush
= strokeBrush;
Serialization\DrawingContextFlattener.cs (1)
233
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)
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 (61)
Microsoft\Windows\Themes\BulletChrome.cs (28)
126
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
139
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
177
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
183
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
191
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
210
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
225
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
268
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
272
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
277
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
295
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
344
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
352
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
371
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
385
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
409
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
440
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
507
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
512
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
519
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
521
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
532
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
810
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
932
temp.
Brush
.Opacity = 0.7;
1091
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2086
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2091
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2242
_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);
151
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
157
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
209
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
238
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
248
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
299
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
304
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
318
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
333
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
337
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
343
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
568
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
900
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
142
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
155
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
449
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
645
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (14)
123
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
126
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
129
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
161
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
162
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
163
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
224
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
245
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
322
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1172
_localResources.OuterBorder.
Brush
.Opacity = 0;
1206
temp.
Brush
.Opacity = 0.63;
1244
_localResources.InnerBorder.
Brush
.Opacity = 0;
1277
temp.
Brush
.Opacity = 0.5;
1315
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Aero2 (61)
Microsoft\Windows\Themes\BulletChrome.cs (28)
126
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
139
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
177
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
183
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
191
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
210
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
225
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
268
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
272
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
277
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
295
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
344
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
352
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
371
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
385
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
409
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
440
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
507
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
512
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
519
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
521
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
532
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
810
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
932
temp.
Brush
.Opacity = 0.7;
1091
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2086
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2091
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2242
_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);
151
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
157
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
209
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
238
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
248
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
299
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
304
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
318
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
333
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
337
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
343
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
568
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
900
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
142
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
155
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
449
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
645
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (14)
123
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
126
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
129
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
161
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
162
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
163
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
224
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
245
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
322
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1172
_localResources.OuterBorder.
Brush
.Opacity = 0;
1206
temp.
Brush
.Opacity = 0.63;
1244
_localResources.InnerBorder.
Brush
.Opacity = 0;
1277
temp.
Brush
.Opacity = 0.5;
1315
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
674
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)
533
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)
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)
642
b = p.
Brush
;
AlphaFlattener\MetroDevice.cs (4)
146
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)
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)
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)
242
separatorPen.
Brush
.Opacity = _separatorOpacity;