116 writes to Brush
PresentationCore (2)
System\Windows\Media\Pen.cs (2)
44Brush = brush; 76Brush = brush;
PresentationFramework (11)
MS\Internal\Documents\TextBoxLine.cs (1)
221ctx.DrawGeometry(selectionBrush, new Pen() { Brush = selectionBrush }, selectionGeometry);
MS\Internal\PtsHost\ParagraphVisual.cs (4)
89pen.Brush = _borderBrush; 111pen.Brush = _borderBrush; 122pen.Brush = _borderBrush; 133pen.Brush = _borderBrush;
System\Windows\Controls\Border.cs (4)
407pen.Brush = borderBrush; 470pen.Brush = borderBrush; 502pen.Brush = borderBrush; 533pen.Brush = borderBrush;
System\Windows\Documents\CompositionAdorner.cs (1)
246pen.Brush = new SolidColorBrush(compositionLine.LineColor);
System\Windows\Shapes\Shape.cs (1)
489_pen.Brush = Stroke;
PresentationFramework.Aero (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
907temp.Brush = new SolidColorBrush(Colors.White); 931temp.Brush = new SolidColorBrush(Colors.White); 954temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 977temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1008temp.Brush = brush; 1041temp.Brush = brush; 1071temp.Brush = brush; 1374temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1396temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1418temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 1450temp.Brush = brush; 1482temp.Brush = brush; 1514temp.Brush = brush; 1546temp.Brush = brush; 1578temp.Brush = brush; 1610temp.Brush = brush; 1642temp.Brush = brush; 1674temp.Brush = brush; 1706temp.Brush = brush; 1737temp.Brush = brush; 1768temp.Brush = brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
808temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 830temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 853temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 932temp.Brush = brush; 955temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
544temp.Brush = brush; 579temp.Brush = brush; 602temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1078temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1102temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1126temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1205temp.Brush = new SolidColorBrush(Colors.White); 1276temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF));
PresentationFramework.Aero2 (34)
Microsoft\Windows\Themes\BulletChrome.cs (21)
907temp.Brush = new SolidColorBrush(Colors.White); 931temp.Brush = new SolidColorBrush(Colors.White); 954temp.Brush = new SolidColorBrush(Color.FromRgb(0xA2, 0xAE, 0xB9)); 977temp.Brush = new SolidColorBrush(Color.FromRgb(0x19, 0x3B, 0x55)); 1008temp.Brush = brush; 1041temp.Brush = brush; 1071temp.Brush = brush; 1374temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1396temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 1418temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 1450temp.Brush = brush; 1482temp.Brush = brush; 1514temp.Brush = brush; 1546temp.Brush = brush; 1578temp.Brush = brush; 1610temp.Brush = brush; 1642temp.Brush = brush; 1674temp.Brush = brush; 1706temp.Brush = brush; 1737temp.Brush = brush; 1768temp.Brush = brush;
Microsoft\Windows\Themes\ButtonChrome.cs (5)
808temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 830temp.Brush = new SolidColorBrush(Color.FromRgb(0x2C, 0x62, 0x8B)); 853temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5)); 932temp.Brush = brush; 955temp.Brush = new SolidColorBrush(Color.FromArgb(0xF9, 0x00, 0xCC, 0xFF));
Microsoft\Windows\Themes\ListBoxChrome.cs (3)
544temp.Brush = brush; 579temp.Brush = brush; 602temp.Brush = new SolidColorBrush(Color.FromRgb(0xAD, 0xB2, 0xB5));
Microsoft\Windows\Themes\ScrollChrome.cs (5)
1078temp.Brush = new SolidColorBrush(Color.FromRgb(0x95, 0x95, 0x95)); 1102temp.Brush = new SolidColorBrush(Color.FromRgb(0x3C, 0x7F, 0xB1)); 1126temp.Brush = new SolidColorBrush(Color.FromRgb(0x15, 0x59, 0x8A)); 1205temp.Brush = new SolidColorBrush(Colors.White); 1276temp.Brush = new SolidColorBrush(Color.FromRgb(0xCF, 0xCF, 0xCF));
PresentationFramework.AeroLite (3)
Microsoft\Windows\Themes\ScrollChrome.cs (3)
369temp.Brush = new SolidColorBrush(Color.FromRgb(0xA3, 0xA3, 0xA3)); 393temp.Brush = new SolidColorBrush(Color.FromRgb(0x21, 0xA1, 0xC4)); 417temp.Brush = new SolidColorBrush(Color.FromRgb(0x00, 0x73, 0x94));
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ScrollChrome.cs (19)
1884temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1906temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 1928temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x94, 0x95, 0xA2)); 1950temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x5B, 0x66, 0x65)); 1972temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x43, 0x48, 0x48)); 2029temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xE8, 0xE8, 0xDF)); 2051temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xB4, 0xC8, 0xF6)); 2075temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x98, 0xB1, 0xE4)); 2097temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xAC, 0xCE, 0xFF)); 2119temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x83, 0x8F, 0xDA)); 2141temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x8E, 0x99, 0x7D)); 2163temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xBD, 0xCB, 0x96)); 2186temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x7A, 0x8B, 0x63)); 2208temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2230temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2253temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)); 2333temp.Brush = brush; 2365temp.Brush = brush; 2397temp.Brush = brush;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
677temp.Brush = CommonDisabledBorder; 708temp.Brush = brush; 739temp.Brush = brush;
PresentationFramework.Royale (7)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
1008temp.Brush = brush; 1030temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x85, 0x99, 0xB1)); 1052temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0x52, 0x66, 0x7E)); 1090temp.Brush = new SolidColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (3)
677temp.Brush = CommonDisabledBorder; 708temp.Brush = brush; 739temp.Brush = brush;
ReachFramework (3)
AlphaFlattener\BrushProxy.cs (1)
192p.Brush = _brush.GetRealBrush();
AlphaFlattener\Flattener.cs (1)
1387pen.Brush = strokeBrush;
Serialization\DrawingContextFlattener.cs (1)
233pen.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)
352Brush vBrush = Brush; 394Brush vBrush = Brush; 416Brush vBrush = Brush;
System\Windows\Media\Pen.cs (1)
148return (pen != null) && (pen.Brush != null);
PresentationFramework (1)
System\Windows\Controls\TextRangeAdaptor.cs (1)
1314color = ColorFromBrush(decor.Pen.Brush);
PresentationFramework.Aero (61)
Microsoft\Windows\Themes\BulletChrome.cs (28)
126chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 139stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 177chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 183chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 191stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 210stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 225stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 268chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 272chrome.HighlightStroke.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 277GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 295stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 344chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 352GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 371stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 385GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 409chrome.GlyphStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 440chrome.GlyphStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 507chrome.GlyphStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 512chrome.HighlightStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 519chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 521chrome.HighlightStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 532GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 810if (_commonBorderPen != null && border == _commonBorderPen.Brush) 932temp.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)
117GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 133chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 151chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 157GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 209chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 238chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 248chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 299chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 304chrome.InnerBorderPen.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 318chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 333chrome.InnerBorderPen.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 337chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 343chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 568if (_commonBorderPen != null && border == _commonBorderPen.Brush) 900_localResources.BorderOverlayPen.Brush.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
142chrome.BorderOverlayPen.Brush.BeginAnimation(Brush.OpacityProperty, da); 155chrome.BorderOverlayPen.Brush.BeginAnimation(Brush.OpacityProperty, da); 449if (_commonBorderPen != null && border == _commonBorderPen.Brush) 645_localResources.BorderOverlayPen.Brush.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (14)
123chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 126chrome.InnerBorder.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 129chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 161chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 162chrome.InnerBorder.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 163chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 224chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 245OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 322chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 1172_localResources.OuterBorder.Brush.Opacity = 0; 1206temp.Brush.Opacity = 0.63; 1244_localResources.InnerBorder.Brush.Opacity = 0; 1277temp.Brush.Opacity = 0.5; 1315_localResources.Shadow.Brush.Opacity = 0;
PresentationFramework.Aero2 (61)
Microsoft\Windows\Themes\BulletChrome.cs (28)
126chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 139stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 177chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 183chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 191stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 210stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 225stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 268chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 272chrome.HighlightStroke.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 277GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 295stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 344chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 352GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 371stops = ((GradientBrush)chrome.HighlightStroke.Brush).GradientStops; 385GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 409chrome.GlyphStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 440chrome.GlyphStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 507chrome.GlyphStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 512chrome.HighlightStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 519chrome.GlyphStroke.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 521chrome.HighlightStroke.Brush.BeginAnimation(Brush.OpacityProperty, da); 532GradientStopCollection stops = ((GradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 810if (_commonBorderPen != null && border == _commonBorderPen.Brush) 932temp.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)
117GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 133chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 151chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 157GradientStopCollection gsc = ((LinearGradientBrush)chrome.InnerBorderPen.Brush).GradientStops; 209chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 238chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, daukf); 248chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 299chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 304chrome.InnerBorderPen.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 318chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 333chrome.InnerBorderPen.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 337chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 343chrome.BorderOverlayPen.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 568if (_commonBorderPen != null && border == _commonBorderPen.Brush) 900_localResources.BorderOverlayPen.Brush.Opacity = 0;
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
142chrome.BorderOverlayPen.Brush.BeginAnimation(Brush.OpacityProperty, da); 155chrome.BorderOverlayPen.Brush.BeginAnimation(Brush.OpacityProperty, da); 449if (_commonBorderPen != null && border == _commonBorderPen.Brush) 645_localResources.BorderOverlayPen.Brush.Opacity = 0;
Microsoft\Windows\Themes\ScrollChrome.cs (14)
123chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 126chrome.InnerBorder.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 129chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 161chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 162chrome.InnerBorder.Brush.BeginAnimation(LinearGradientBrush.OpacityProperty, da); 163chrome.Shadow.Brush.BeginAnimation(SolidColorBrush.OpacityProperty, da); 224chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 245OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 322chrome.OuterBorder.Brush.BeginAnimation(SolidColorBrush.ColorProperty, ca); 1172_localResources.OuterBorder.Brush.Opacity = 0; 1206temp.Brush.Opacity = 0.63; 1244_localResources.InnerBorder.Brush.Opacity = 0; 1277temp.Brush.Opacity = 0.5; 1315_localResources.Shadow.Brush.Opacity = 0;
PresentationFramework.Luna (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
674if (_commonBorderPen != null && brush == _commonBorderPen.Brush)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
411if (_commonBorderPen != null && border == _commonBorderPen.Brush)
PresentationFramework.Royale (2)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
533if (_commonBorderPen != null && brush == _commonBorderPen.Brush)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
411if (_commonBorderPen != null && border == _commonBorderPen.Brush)
ReachFramework (17)
AlphaFlattener\BrushProxy.cs (4)
270Debug.Assert(pen.Brush != null, "pen expected to have a brush"); 277BrushProxy brush = BrushProxy.CreateBrush(pen.Brush, bounds); 303Debug.Assert(pen.Brush != null, "pen expected to have a brush"); 310BrushProxy brush = BrushProxy.CreateUserBrush(pen.Brush, bounds, brushToWorldTransformHint, treeWalkProgress);
AlphaFlattener\DrawingContext.cs (1)
642b = p.Brush;
AlphaFlattener\MetroDevice.cs (4)
146if (Utility.IsTransparent(_opacity) || ((brush == null) && (pen == null || pen.Brush == null)) || (geometry == null)) 186if ((pen != null) && (pen.Brush != null)) 188if (!(pen.Brush is SolidColorBrush)) 221if ((pen != null) && (pen.Brush != null))
AlphaFlattener\Primitive.cs (1)
341if ((gd.Pen != null) && (gd.Pen.Brush != null))
Serialization\DrawingContextFlattener.cs (4)
222Brush b = ReduceBrush(pen.Brush, bounds); 229if (! Object.ReferenceEquals(b, pen.Brush)) 253if ((pen != null) && (pen.Brush != null)) 257if (VisualSerializer.NeedBounds(pen.Brush))
Serialization\VisualSerializer.cs (3)
915WriteBrush("Stroke", pen.Brush, bounds); 1157if ((pen.Brush != null) && !BrushProxy.IsEmpty(pen.Brush))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
242separatorPen.Brush.Opacity = _separatorOpacity;