76 writes to Brush
PresentationCore (2)
Core\CSharp\System\Windows\Media\Pen.cs (2)
54
Brush
= brush;
86
Brush
= brush;
PresentationFramework (11)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
230
ctx.DrawGeometry(selectionBrush, new Pen() {
Brush
= selectionBrush }, selectionGeometry);
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (4)
95
pen.
Brush
= _borderBrush;
117
pen.
Brush
= _borderBrush;
128
pen.
Brush
= _borderBrush;
139
pen.
Brush
= _borderBrush;
src\Framework\System\Windows\Controls\Border.cs (4)
418
pen.
Brush
= borderBrush;
482
pen.
Brush
= borderBrush;
515
pen.
Brush
= borderBrush;
546
pen.
Brush
= borderBrush;
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
251
pen.
Brush
= new SolidColorBrush(compositionLine.LineColor);
src\Framework\System\Windows\Shapes\Shape.cs (1)
499
_pen.
Brush
= Stroke;
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
919
temp.
Brush
= new SolidColorBrush(Colors.White);
943
temp.
Brush
= new SolidColorBrush(Colors.White);
966
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9));
989
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55));
1020
temp.
Brush
= brush;
1053
temp.
Brush
= brush;
1083
temp.
Brush
= brush;
1386
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1408
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
1430
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
1462
temp.
Brush
= brush;
1494
temp.
Brush
= brush;
1526
temp.
Brush
= brush;
1558
temp.
Brush
= brush;
1590
temp.
Brush
= brush;
1622
temp.
Brush
= brush;
1654
temp.
Brush
= brush;
1686
temp.
Brush
= brush;
1718
temp.
Brush
= brush;
1749
temp.
Brush
= brush;
1780
temp.
Brush
= brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
823
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
845
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B));
868
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
947
temp.
Brush
= brush;
970
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
556
temp.
Brush
= brush;
591
temp.
Brush
= brush;
614
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1089
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95));
1113
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1));
1137
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A));
1216
temp.
Brush
= new SolidColorBrush(Colors.White);
1287
temp.
Brush
= new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF));
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1894
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
1916
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
1938
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2));
1960
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65));
1982
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48));
2039
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF));
2061
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6));
2085
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4));
2107
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF));
2129
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA));
2151
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D));
2173
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96));
2196
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63));
2218
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2240
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2263
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
2343
temp.
Brush
= brush;
2375
temp.
Brush
= brush;
2407
temp.
Brush
= brush;
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
686
temp.
Brush
= CommonDisabledBorder;
717
temp.
Brush
= brush;
748
temp.
Brush
= brush;
PresentationFramework.Royale (7)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1018
temp.
Brush
= brush;
1040
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1));
1062
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E));
1100
temp.
Brush
= new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
686
temp.
Brush
= CommonDisabledBorder;
717
temp.
Brush
= brush;
748
temp.
Brush
= brush;
70 references to Brush
PresentationCore (4)
Core\CSharp\System\Windows\Media\Generated\Pen.cs (3)
399
Brush vBrush =
Brush
;
441
Brush vBrush =
Brush
;
463
Brush vBrush =
Brush
;
Core\CSharp\System\Windows\Media\Pen.cs (1)
163
return (pen != null) && (pen.
Brush
!= null);
PresentationFramework (1)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
1325
color = ColorFromBrush(decor.Pen.
Brush
);
PresentationFramework.Aero (61)
Microsoft\Windows\Themes\BulletChrome.cs (28)
138
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
151
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
189
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
195
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
203
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
222
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
237
stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
280
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
284
chrome.HighlightStroke.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
289
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
307
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
356
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
364
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
383
stops = ((GradientBrush)chrome.HighlightStroke.
Brush
).GradientStops;
397
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
421
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
452
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
519
chrome.GlyphStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
524
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
531
chrome.GlyphStroke.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
533
chrome.HighlightStroke.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
544
GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
822
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
944
temp.
Brush
.Opacity = 0.7;
1103
_localResources.HighlightStroke.
Brush
.Opacity = 0;
2098
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2103
_localResources.GlyphStroke.
Brush
.Opacity = 0;
2254
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ButtonChrome.cs (15)
132
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
148
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
166
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
172
GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.
Brush
).GradientStops;
224
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
253
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, daukf);
263
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
314
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
319
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
333
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
348
chrome.InnerBorderPen.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
352
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
358
chrome.BorderOverlayPen.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
583
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
915
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
154
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
167
chrome.BorderOverlayPen.
Brush
.BeginAnimation(Brush.OpacityProperty, da);
461
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
657
_localResources.BorderOverlayPen.
Brush
.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (14)
134
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
137
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
140
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
172
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
173
chrome.InnerBorder.
Brush
.BeginAnimation(LinearGradientBrush.OpacityProperty, da);
174
chrome.Shadow.
Brush
.BeginAnimation(SolidColorBrush.OpacityProperty, da);
235
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
256
OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
333
chrome.OuterBorder.
Brush
.BeginAnimation(SolidColorBrush.ColorProperty, ca);
1183
_localResources.OuterBorder.
Brush
.Opacity = 0;
1217
temp.
Brush
.Opacity = 0.63;
1255
_localResources.InnerBorder.
Brush
.Opacity = 0;
1288
temp.
Brush
.Opacity = 0.5;
1326
_localResources.Shadow.
Brush
.Opacity = 0;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
685
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
420
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
544
if (_commonBorderPen != null && brush == _commonBorderPen.
Brush
)
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
420
if (_commonBorderPen != null && border == _commonBorderPen.
Brush
)