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