14 instantiations of DrawingBrush
PresentationCore (1)
System\Windows\Media\Generated\DrawingBrush.cs (1)
135return new DrawingBrush();
PresentationFramework (5)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
78DrawingBrush tileBrush = new DrawingBrush(hatchDG)
MS\Internal\Ink\PenCursorManager.cs (1)
249DrawingBrush db = new DrawingBrush(drawing)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
163DrawingBrush brush = new DrawingBrush(drawingGroup)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4221DefaultConstructor = delegate () { return new System.Windows.Media.DrawingBrush(); },
System\Windows\Markup\KnownTypes.cs (1)
1239case KnownElements.DrawingBrush: o = new System.Windows.Media.DrawingBrush(); break;
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
57DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
57DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
ReachFramework (2)
AlphaFlattener\Utility.cs (1)
1521DrawingBrush db = new DrawingBrush
Serialization\DrawingContextFlattener.cs (1)
292DrawGeometry(new DrawingBrush(drawingImage.Drawing), null, new RectangleGeometry(rectangle));
61 references to DrawingBrush
PresentationCore (7)
System\Windows\Media\Generated\DrawingBrush.cs (7)
31public new DrawingBrush Clone() 33return (DrawingBrush)base.Clone(); 40public new DrawingBrush CloneCurrentValue() 42return (DrawingBrush)base.CloneCurrentValue(); 73DrawingBrush target = ((DrawingBrush) d); 367Type typeofThis = typeof(DrawingBrush);
PresentationFramework (6)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
78DrawingBrush tileBrush = new DrawingBrush(hatchDG)
MS\Internal\Ink\PenCursorManager.cs (1)
249DrawingBrush db = new DrawingBrush(drawing)
System\Windows\Documents\SpellerHighlightLayer.cs (1)
163DrawingBrush brush = new DrawingBrush(drawingGroup)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
274case 180: t = () => typeof(DrawingBrush); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4218typeof(System.Windows.Media.DrawingBrush),
System\Windows\Markup\KnownTypes.cs (1)
5728case KnownElements.DrawingBrush: t = typeof(System.Windows.Media.DrawingBrush); break;
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
57DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
57DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
62DrawingBrush newBrush = new DrawingBrush();
PresentationUI (10)
MS\Internal\Documents\DocumentStatusResources.cs (2)
17internal System.Windows.Media.DrawingBrush Image 61private System.Windows.Media.DrawingBrush _image;
MS\Internal\Documents\RightsManagementResourceHelper.cs (4)
109private static DrawingBrush GetDrawingBrushFromStatus(RightsManagementStatus status) 117_brushResources = new DrawingBrush[statusList.Length]; 144_brushResources[index] = resource as DrawingBrush; 154private static DrawingBrush[] _brushResources; // To cache DrawingBrushes.
MS\Internal\Documents\SignatureResourceHelper.cs (4)
136private static DrawingBrush GetDrawingBrushFromStatus(SignatureStatus sigStatus) 144_brushResources = new DrawingBrush[statusList.Length]; 172_brushResources[index] = resource as DrawingBrush; 335private static DrawingBrush[] _brushResources;
ReachFramework (32)
AlphaFlattener\BrushProxy.cs (19)
658if (_brush is DrawingBrush) 660DrawingBrush db = _brush as DrawingBrush; 720if (_brush is DrawingBrush) 727DrawingBrush db = _brush as DrawingBrush; 1070else if (_brush is DrawingBrush) 1245DrawingBrush drawingBrush = _brush as DrawingBrush; 1332DrawingBrush currentBrush = (DrawingBrush)_brush; 1334DrawingBrush newBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 1409private static DrawingBrush CreateDrawingBrush(Drawing drawing, Rect bounds) 1411DrawingBrush brush = Utility.CreateNonInheritingDrawingBrush(drawing); 3050DrawingBrush drawingBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 3147DrawingBrush drawingBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 3184DrawingBrush db = Utility.CreateNonInheritingDrawingBrush(drawingImage.Drawing); 3341if (brushB.Brush is DrawingBrush) 3493else if (_brush is DrawingBrush)
AlphaFlattener\DrawingContext.cs (2)
779if ((brush.Brush != null) && (brush.Brush is DrawingBrush)) 936if ((b == null) || (b is DrawingBrush))
AlphaFlattener\Flattener.cs (1)
61if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush))
AlphaFlattener\Primitive.cs (4)
419DrawingBrush db = Utility.CreateNonInheritingDrawingBrush(di.Drawing); 785if (_pen != null && _pen.StrokeBrush != null && _pen.StrokeBrush.Brush is DrawingBrush) 798DrawingBrush drawingBrush = _brush.GetRealBrush() as DrawingBrush;
AlphaFlattener\Utility.cs (4)
1519public static DrawingBrush CreateNonInheritingDrawingBrush(Drawing drawing) 1521DrawingBrush db = new DrawingBrush 1556DrawingBrush drawingBrush = brush as DrawingBrush;
Serialization\VisualSerializer.cs (2)
772DrawingBrush db = brush as DrawingBrush;