14 instantiations of DrawingBrush
PresentationCore (1)
System\Windows\Media\Generated\DrawingBrush.cs (1)
135return new DrawingBrush();
PresentationFramework (5)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
79DrawingBrush 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)
3920bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.DrawingBrush(); };
System\Windows\Markup\KnownTypes.cs (1)
1245case 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)
79DrawingBrush 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)
3918typeof(System.Windows.Media.DrawingBrush),
System\Windows\Markup\KnownTypes.cs (1)
5734case 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)
657if (_brush is DrawingBrush) 659DrawingBrush db = _brush as DrawingBrush; 719if (_brush is DrawingBrush) 726DrawingBrush db = _brush as DrawingBrush; 1072else if (_brush is DrawingBrush) 1247DrawingBrush drawingBrush = _brush as DrawingBrush; 1334DrawingBrush currentBrush = (DrawingBrush)_brush; 1336DrawingBrush newBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 1411private static DrawingBrush CreateDrawingBrush(Drawing drawing, Rect bounds) 1413DrawingBrush brush = Utility.CreateNonInheritingDrawingBrush(drawing); 3049DrawingBrush drawingBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 3144DrawingBrush drawingBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 3181DrawingBrush db = Utility.CreateNonInheritingDrawingBrush(drawingImage.Drawing); 3339if (brushB.Brush is DrawingBrush) 3491else if (_brush is DrawingBrush)
AlphaFlattener\DrawingContext.cs (2)
777if ((brush.Brush != null) && (brush.Brush is DrawingBrush)) 934if ((b == null) || (b is DrawingBrush))
AlphaFlattener\Flattener.cs (1)
61if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush))
AlphaFlattener\Primitive.cs (4)
417DrawingBrush db = Utility.CreateNonInheritingDrawingBrush(di.Drawing); 781if (_pen != null && _pen.StrokeBrush != null && _pen.StrokeBrush.Brush is DrawingBrush) 794DrawingBrush drawingBrush = _brush.GetRealBrush() as DrawingBrush;
AlphaFlattener\Utility.cs (4)
1519public static DrawingBrush CreateNonInheritingDrawingBrush(Drawing drawing) 1521DrawingBrush db = new DrawingBrush(); 1555DrawingBrush drawingBrush = brush as DrawingBrush;
Serialization\VisualSerializer.cs (2)
771DrawingBrush db = brush as DrawingBrush;