14 instantiations of DrawingBrush
PresentationCore (1)
System\Windows\Media\Generated\DrawingBrush.cs (1)
163return new DrawingBrush();
PresentationFramework (5)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
86DrawingBrush tileBrush = new DrawingBrush(hatchDG);
MS\Internal\Ink\PenCursorManager.cs (1)
254DrawingBrush db = new DrawingBrush(drawing);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
166DrawingBrush brush = new DrawingBrush(drawingGroup);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3922bamlType.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)
59DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
59DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
ReachFramework (2)
AlphaFlattener\Utility.cs (1)
1538DrawingBrush db = new DrawingBrush();
Serialization\DrawingContextFlattener.cs (1)
302DrawGeometry(new DrawingBrush(drawingImage.Drawing), null, new RectangleGeometry(rectangle));
61 references to DrawingBrush
PresentationCore (7)
System\Windows\Media\Generated\DrawingBrush.cs (7)
59public new DrawingBrush Clone() 61return (DrawingBrush)base.Clone(); 68public new DrawingBrush CloneCurrentValue() 70return (DrawingBrush)base.CloneCurrentValue(); 101DrawingBrush target = ((DrawingBrush) d); 395Type typeofThis = typeof(DrawingBrush);
PresentationFramework (6)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
86DrawingBrush tileBrush = new DrawingBrush(hatchDG);
MS\Internal\Ink\PenCursorManager.cs (1)
254DrawingBrush db = new DrawingBrush(drawing);
System\Windows\Documents\SpellerHighlightLayer.cs (1)
166DrawingBrush brush = new DrawingBrush(drawingGroup);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
276case 180: t = () => typeof(DrawingBrush); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3920typeof(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)
59DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
59DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationUI (10)
MS\Internal\Documents\DocumentStatusResources.cs (2)
21internal System.Windows.Media.DrawingBrush Image 65private System.Windows.Media.DrawingBrush _image;
MS\Internal\Documents\RightsManagementResourceHelper.cs (4)
114private static DrawingBrush GetDrawingBrushFromStatus(RightsManagementStatus status) 122_brushResources = new DrawingBrush[statusList.Length]; 149_brushResources[index] = resource as DrawingBrush; 159private static DrawingBrush[] _brushResources; // To cache DrawingBrushes.
MS\Internal\Documents\SignatureResourceHelper.cs (4)
141private static DrawingBrush GetDrawingBrushFromStatus(SignatureStatus sigStatus) 149_brushResources = new DrawingBrush[statusList.Length]; 177_brushResources[index] = resource as DrawingBrush; 340private static DrawingBrush[] _brushResources;
ReachFramework (32)
AlphaFlattener\BrushProxy.cs (19)
661if (_brush is DrawingBrush) 663DrawingBrush db = _brush as DrawingBrush; 723if (_brush is DrawingBrush) 730DrawingBrush db = _brush as DrawingBrush; 1076else if (_brush is DrawingBrush) 1251DrawingBrush drawingBrush = _brush as DrawingBrush; 1338DrawingBrush currentBrush = (DrawingBrush)_brush; 1340DrawingBrush newBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 1415private static DrawingBrush CreateDrawingBrush(Drawing drawing, Rect bounds) 1417DrawingBrush brush = Utility.CreateNonInheritingDrawingBrush(drawing); 3053DrawingBrush drawingBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 3148DrawingBrush drawingBrush = Utility.CreateNonInheritingDrawingBrush(drawing); 3185DrawingBrush db = Utility.CreateNonInheritingDrawingBrush(drawingImage.Drawing); 3343if (brushB.Brush is DrawingBrush) 3495else if (_brush is DrawingBrush)
AlphaFlattener\DrawingContext.cs (2)
781if ((brush.Brush != null) && (brush.Brush is DrawingBrush)) 938if ((b == null) || (b is DrawingBrush))
AlphaFlattener\Flattener.cs (1)
66if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush))
AlphaFlattener\Primitive.cs (4)
422DrawingBrush db = Utility.CreateNonInheritingDrawingBrush(di.Drawing); 786if (_pen != null && _pen.StrokeBrush != null && _pen.StrokeBrush.Brush is DrawingBrush) 799DrawingBrush drawingBrush = _brush.GetRealBrush() as DrawingBrush;
AlphaFlattener\Utility.cs (4)
1536public static DrawingBrush CreateNonInheritingDrawingBrush(Drawing drawing) 1538DrawingBrush db = new DrawingBrush(); 1572DrawingBrush drawingBrush = brush as DrawingBrush;
Serialization\VisualSerializer.cs (2)
779DrawingBrush db = brush as DrawingBrush;