5 types derived from DrawingContext
PresentationCore (5)
System\Windows\Media\DrawingContextWalker.cs (1)
16internal abstract partial class DrawingContextWalker : DrawingContext
System\Windows\Media\DrawingDrawingContext.cs (1)
14internal class DrawingDrawingContext : DrawingContext
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
21internal abstract partial class DrawingContextWalker : DrawingContext
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
18internal partial class RenderDataDrawingContext : DrawingContext
System\Windows\Media\RenderDataDrawingContext.cs (1)
20internal partial class RenderDataDrawingContext : DrawingContext, IDisposable
267 references to DrawingContext
PresentationCore (41)
MS\Internal\Ink\Renderer.cs (1)
68using (DrawingContext drawingContext = RenderOpen())
MS\Internal\TextFormatting\DrawingState.cs (3)
25private DrawingContext _drawingContext; // current drawing context 36DrawingContext drawingContext, 115internal DrawingContext DrawingContext
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
215DrawingContext drawingContext,
MS\Internal\TextFormatting\FullTextLine.cs (3)
531DrawingContext drawingContext, 575DrawingContext drawingContext, 658DrawingContext drawingContext,
MS\Internal\TextFormatting\LineServicesCallbacks.cs (4)
1272DrawingContext drawingContext = Draw.DrawingContext; 1447DrawingContext drawingContext = Draw.DrawingContext; 1819DrawingContext drawingContext = Draw.DrawingContext; 2508DrawingContext drawingContext = Draw.DrawingContext;
MS\Internal\TextFormatting\LineServicesRun.cs (1)
229DrawingContext drawingContext,
MS\Internal\TextFormatting\SimpleTextLine.cs (3)
476DrawingContext drawingContext, 574DrawingContext drawingContext, 1730DrawingContext drawingContext,
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
246DrawingContext drawingContext,
MS\Internal\TextFormatting\TextShapeableSymbols.cs (1)
146DrawingContext drawingContext,
System\Windows\Ink\Stroke2.cs (4)
50public void Draw(DrawingContext context) 68public void Draw(DrawingContext drawingContext, DrawingAttributes drawingAttributes) 364protected virtual void DrawCore(DrawingContext drawingContext, DrawingAttributes drawingAttributes) 497internal void DrawInternal(DrawingContext dc, DrawingAttributes DrawingAttributes, bool drawAsHollow)
System\Windows\Ink\StrokeCollection2.cs (1)
347public void Draw(DrawingContext context)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (3)
724protected virtual void OnDraw( DrawingContext drawingContext, 801DrawingContext drawingContext = visual.RenderOpen(); 850DrawingContext drawingContext = visual.RenderOpen();
System\Windows\Media\DrawingContextDrawingContextWalker.cs (2)
24public DrawingContextDrawingContextWalker(DrawingContext drawingContext) 32private DrawingContext _drawingContext;
System\Windows\Media\DrawingGroup.cs (2)
39public DrawingContext Open() 55public DrawingContext Append()
System\Windows\Media\DrawingServices.cs (1)
85DrawingContext dc = drawingGroup.Open();
System\Windows\Media\DrawingVisual.cs (1)
67public DrawingContext RenderOpen()
System\Windows\Media\FormattedText.cs (3)
1566DrawingContext ctx = drawing.Open(); 1673DrawingContext dc, 1705private CachedMetrics DrawAndCalculateMetrics(DrawingContext dc, Point drawingOffset, bool getBlackBoxMetrics)
System\Windows\Media\GlyphRun.cs (1)
1647internal void EmitBackground(DrawingContext dc, Brush backgroundBrush)
System\Windows\Media\textformatting\TextEmbeddedObject.cs (1)
76DrawingContext drawingContext,
System\Windows\Media\textformatting\TextLine.cs (1)
50DrawingContext drawingContext,
System\Windows\UIElement.cs (3)
918DrawingContext dc = RenderOpen(); 970protected virtual void OnRender(DrawingContext drawingContext) 3120internal DrawingContext RenderOpen()
PresentationFramework (80)
MS\Internal\AppModel\IconHelper.cs (1)
149DrawingContext dc = dv.RenderOpen();
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
143protected override void OnRender(DrawingContext drawingContext)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
52DrawingContext dc = null; 190protected override void OnRender(DrawingContext drawingContext) 215private void DrawHandles(DrawingContext drawingContext, Rect rectWireFrame) 233private void DrawBackgound(DrawingContext drawingContext)
MS\Internal\Documents\TextBoxLine.cs (1)
202DrawingContext ctx = visual.RenderOpen();
MS\Internal\Documents\TextBoxView.cs (1)
491protected override void OnRender(DrawingContext context)
MS\Internal\Ink\LassoHelper.cs (1)
143DrawingContext dc = null;
MS\Internal\Ink\PenCursorManager.cs (3)
258DrawingContext dc = null; 401DrawingContext dc = null; 433DrawingContext dc = null;
MS\Internal\PtsHost\Line.cs (2)
439DrawingContext ctx = visual.Open(); 665DrawingContext ctx = drawing.Open();
MS\Internal\PtsHost\LineVisual.cs (1)
23internal DrawingContext Open()
MS\Internal\PtsHost\ListMarkerLine.cs (1)
98internal void FormatAndDrawVisual(DrawingContext ctx, LineProperties lineProps, int ur, int vrBaseline)
MS\Internal\PtsHost\ListParaClient.cs (1)
71using(DrawingContext ctx = _visual.RenderOpen())
MS\Internal\PtsHost\PageVisual.cs (2)
45using (DrawingContext dc = RenderOpen()) 92DrawingContext ctx = this.RenderOpen();
MS\Internal\PtsHost\ParagraphVisual.cs (2)
42using (DrawingContext dc = RenderOpen()) 60internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
MS\Internal\PtsHost\RunClient.cs (1)
97public override void Draw(DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways)
MS\Internal\PtsHost\SectionVisual.cs (1)
97using (DrawingContext dc = RenderOpen())
MS\Internal\PtsHost\TableParaClient.cs (4)
223using (DrawingContext dc = _visual.RenderOpen()) 1751private void DrawColumnBackgrounds(DrawingContext dc, Rect tableContentRect) 1827private void DrawRowGroupBackgrounds(DrawingContext dc, PTS.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo) 1884private void DrawRowBackgrounds(DrawingContext dc, PTS.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
MS\Internal\Text\InlineObject.cs (1)
95public override void Draw(DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways)
MS\Internal\Text\Line.cs (1)
107internal void Render(DrawingContext ctx, Point lineOffset)
System\Windows\Controls\Border.cs (1)
363protected override void OnRender(DrawingContext dc)
System\Windows\Controls\DataGridCell.cs (1)
847protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Grid.cs (2)
3983using (DrawingContext drawingContext = RenderOpen()) 4014DrawingContext drawingContext,
System\Windows\Controls\Image.cs (1)
247protected override void OnRender(DrawingContext dc)
System\Windows\Controls\MediaElement.cs (1)
727protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Panel.cs (1)
58protected override void OnRender(DrawingContext dc)
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
191protected override void OnRender(DrawingContext dc)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
459protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
271protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
970using (DrawingContext dc = drawingVisual.RenderOpen())
System\Windows\Controls\Primitives\TickBar.cs (1)
347protected override void OnRender(DrawingContext dc)
System\Windows\Controls\TextBlock.cs (1)
1476protected sealed override void OnRender(DrawingContext ctx)
System\Windows\Controls\ToolBarTray.cs (1)
322protected override void OnRender(DrawingContext dc)
System\windows\Documents\CaretElement.cs (3)
121protected override void OnRender(DrawingContext drawingContext) 629internal void OnRenderCaretSubElement(DrawingContext context) 1205protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\ColumnResizeAdorner.cs (1)
91protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\CompositionAdorner.cs (1)
123protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\FixedPage.cs (4)
144protected override void OnRender(DrawingContext dc) 1158override protected void OnRender(DrawingContext dc) 1233private void _RenderMarkupOrder(DrawingContext dc, List<FixedNode> markupOrder) 1266private void _RenderLabel(DrawingContext dc, string label, Rect boundingRect)
System\Windows\Documents\FixedPageStructure.cs (5)
211private void DrawRectOutline(DrawingContext dc, Pen pen, Rect rect) 220internal void RenderLayoutBox(DrawingContext dc) 242internal void RenderFixedNode(DrawingContext dc) 442internal void RenderFlowNode(DrawingContext dc) 641internal void RenderLines(DrawingContext dc)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
145public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMGroup.cs (1)
150public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMImage.cs (1)
89public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMPage.cs (1)
39public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals)
System\Windows\Documents\FixedSOMSemanticBox.cs (2)
64public abstract void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals) ; 65public void RenderLabel(DrawingContext dc, string label)
System\Windows\Documents\FixedSOMTable.cs (1)
37public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTableCell.cs (1)
40public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTableRow.cs (1)
36public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTextRun.cs (1)
184public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\Glyphs.cs (1)
110protected override void OnRender(DrawingContext context)
System\Windows\Documents\HighlightVisual.cs (3)
74override protected void OnRender(DrawingContext dc) 164private void _UpdateHighlightBackground(DrawingContext dc, ArrayList highlights) 267private void _UpdateHighlightForeground(DrawingContext dc, ArrayList highlights)
System\Windows\Documents\RubberbandSelector.cs (2)
205DrawingContext dc = visual.RenderOpen(); 236DrawingContext dc = visual.RenderOpen();
System\Windows\Documents\SpellerHighlightLayer.cs (1)
149DrawingContext drawingContext = drawingGroup.Open();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
276case 182: t = () => typeof(DrawingContext); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4248typeof(System.Windows.Media.DrawingContext),
System\Windows\Markup\KnownTypes.cs (1)
5730case KnownElements.DrawingContext: t = typeof(System.Windows.Media.DrawingContext); break;
System\Windows\Shapes\Ellipse.cs (1)
181protected override void OnRender(DrawingContext drawingContext)
System\Windows\Shapes\Rectangle.cs (1)
231protected override void OnRender(DrawingContext drawingContext)
System\Windows\Shapes\Shape.cs (1)
415protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Aero (22)
Microsoft\Windows\Themes\BulletChrome.cs (5)
615protected override void OnRender(DrawingContext drawingContext) 632private void DrawBackground(DrawingContext dc, ref Rect bounds) 673private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 714private void DrawGlyph(DrawingContext dc, ref Rect bounds) 744private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
469protected override void OnRender(DrawingContext drawingContext) 487private void DrawBackground(DrawingContext dc, ref Rect bounds) 512private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 533private void DrawBorder(DrawingContext dc, ref Rect bounds) 645private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
33private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
300protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
77DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
415protected override void OnRender(DrawingContext drawingContext) 460private void DrawShadow(DrawingContext dc, ref Rect bounds) 478private void DrawBorders(DrawingContext dc, ref Rect bounds) 511private void DrawGlyph(DrawingContext dc, ref Rect bounds) 539private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 562private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 725private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
285protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
96protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Aero2 (22)
Microsoft\Windows\Themes\BulletChrome.cs (5)
615protected override void OnRender(DrawingContext drawingContext) 632private void DrawBackground(DrawingContext dc, ref Rect bounds) 673private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 714private void DrawGlyph(DrawingContext dc, ref Rect bounds) 744private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
469protected override void OnRender(DrawingContext drawingContext) 487private void DrawBackground(DrawingContext dc, ref Rect bounds) 512private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 533private void DrawBorder(DrawingContext dc, ref Rect bounds) 645private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
33private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
300protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
77DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
415protected override void OnRender(DrawingContext drawingContext) 460private void DrawShadow(DrawingContext dc, ref Rect bounds) 478private void DrawBorders(DrawingContext dc, ref Rect bounds) 511private void DrawGlyph(DrawingContext dc, ref Rect bounds) 539private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 562private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 725private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
285protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
96protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.AeroLite (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
33private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (5)
159protected override void OnRender(DrawingContext drawingContext) 199private void DrawBorders(DrawingContext dc, ref Rect bounds) 216private void DrawGlyph(DrawingContext dc, ref Rect bounds) 237private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 252private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
285protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
72DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
96protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Classic (22)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (18)
749protected override void OnRender(DrawingContext drawingContext) 930private void DrawBorder(Brush borderBrush, Thickness borderThickness, DrawingContext dc, ref Rect bounds) 984private void DrawBorderPair(Brush highlight, Brush shadow, Thickness singleThickness, DrawingContext dc, ref Rect bounds) 993private void DrawRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1003private void DrawRaisedPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1012private void DrawSunkenBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1022private void DrawEtchedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1033private void DrawHorizontalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1046private void DrawVerticalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1218private void DrawTabLeft(DrawingContext dc, ref Rect bounds) 1240private void DrawTabTop(DrawingContext dc, ref Rect bounds) 1254private void DrawTabRight(DrawingContext dc, ref Rect bounds) 1276private void DrawTabBottom(DrawingContext dc, ref Rect bounds) 1298private void DrawThinRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1306private void DrawThinPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1314private void DrawAltRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1323private void DrawAltPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1331private void DrawRadioButtonBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
42private void RenderTheme(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
285protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
72DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
96protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
376private bool DrawOuterHighlight(DrawingContext dc, ref Rect bounds) 413private bool DrawBackground(DrawingContext dc, ref Rect bounds) 431private void DrawShades(DrawingContext dc, ref Rect bounds) 468private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 487private void DrawBorder(DrawingContext dc, ref Rect bounds) 510protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
72private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (7)
216protected override void OnRender(DrawingContext drawingContext) 292private void DrawShadow(DrawingContext dc, ref Rect bounds) 311private void DrawBorders(DrawingContext dc, ref Rect bounds) 344private void DrawGlyph(DrawingContext dc, ScrollGlyph glyph, ref Rect bounds) 374private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 396private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 570private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds, ScrollGlyph glyph)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
198protected override void OnRender(DrawingContext drawingContext) 230private void DrawBackground(DrawingContext dc, ref Rect bounds) 253private void DrawHighlight(DrawingContext dc, ref Rect bounds) 274private void DrawGlyph(DrawingContext dc, ref Rect bounds, bool isUnitThickness) 325private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
285protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
72DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
96protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Royale (20)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
334private bool DrawBackground(DrawingContext dc, ref Rect bounds) 352private void DrawShades(DrawingContext dc, ref Rect bounds) 389private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 408private void DrawBorder(DrawingContext dc, ref Rect bounds) 431protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
29private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
198protected override void OnRender(DrawingContext drawingContext) 271private void DrawBorders(DrawingContext dc, ref Rect bounds) 304private void DrawGlyph(DrawingContext dc, ScrollGlyph glyph, ref Rect bounds) 334private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 356private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 530private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds, ScrollGlyph glyph)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
198protected override void OnRender(DrawingContext drawingContext) 230private void DrawBackground(DrawingContext dc, ref Rect bounds) 253private void DrawHighlight(DrawingContext dc, ref Rect bounds) 274private void DrawGlyph(DrawingContext dc, ref Rect bounds, bool isUnitThickness) 325private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
285protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
72DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
96protected override void OnRender(DrawingContext drawingContext)
ReachFramework (24)
AlphaFlattener\BrushProxy.cs (7)
1268public void DrawGeometry(DrawingContext dc, Pen pen, Geometry geo) 1320using (DrawingContext context = drawing.Open()) 1444using (DrawingContext context = drawing.Open()) 1497using (DrawingContext context = drawing.Open()) 3009using (DrawingContext context = drawing.Open()) 3086using (DrawingContext context = drawing.Open()) 3568using (DrawingContext ctx = RenderOpen())
AlphaFlattener\Flattener.cs (3)
1017using (DrawingContext ctx = dv.RenderOpen()) 1294private DrawingContext _ctx; 1303public OutputContext(DrawingContext context)
AlphaFlattener\MetroDevice.cs (3)
668DrawingContext dc = s_TestingHook as DrawingContext; 759s_TestingHook = obj as DrawingContext;
AlphaFlattener\Optimizer.cs (1)
61using (DrawingContext ctx = visual.RenderOpen())
AlphaFlattener\Primitive.cs (7)
63public abstract void OnRender(DrawingContext ctx); 547protected int PushAll(DrawingContext dc) 586protected static void PopAll(DrawingContext dc, int levels) 1111public override void OnRender(DrawingContext dc) 1678public override void OnRender(DrawingContext dc) 1818public override void OnRender(DrawingContext dc) 2012public override void OnRender(DrawingContext dc)
AlphaFlattener\Utility.cs (1)
1934using (DrawingContext context = visual.RenderOpen())
Serialization\DrawingContextFlattener.cs (2)
874private DrawingContext _context = null; 884public DrawingFlattenDrawingContext(DrawingContext context)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
124protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
231protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (1)
252DrawingContext dc = dv.RenderOpen();
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
277protected override void OnRender(DrawingContext drawingContext)
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
332DrawingContext drawingContext = drawingVisual.RenderOpen();