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