5 types derived from DrawingContext
PresentationCore (5)
System\Windows\Media\DrawingContextWalker.cs (1)
28internal abstract partial class DrawingContextWalker : DrawingContext
System\Windows\Media\DrawingDrawingContext.cs (1)
32internal class DrawingDrawingContext : DrawingContext
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
36internal abstract partial class DrawingContextWalker : DrawingContext
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
35internal partial class RenderDataDrawingContext : DrawingContext
System\Windows\Media\RenderDataDrawingContext.cs (1)
31internal partial class RenderDataDrawingContext : DrawingContext, IDisposable
267 references to DrawingContext
PresentationCore (41)
MS\Internal\Ink\Renderer.cs (1)
77using (DrawingContext drawingContext = RenderOpen())
MS\Internal\TextFormatting\DrawingState.cs (3)
27private DrawingContext _drawingContext; // current drawing context 38DrawingContext drawingContext, 120internal DrawingContext DrawingContext
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
223DrawingContext drawingContext,
MS\Internal\TextFormatting\FullTextLine.cs (3)
544DrawingContext drawingContext, 588DrawingContext drawingContext, 671DrawingContext drawingContext,
MS\Internal\TextFormatting\LineServicesCallbacks.cs (4)
1300DrawingContext drawingContext = Draw.DrawingContext; 1475DrawingContext drawingContext = Draw.DrawingContext; 1847DrawingContext drawingContext = Draw.DrawingContext; 2532DrawingContext drawingContext = Draw.DrawingContext;
MS\Internal\TextFormatting\LineServicesRun.cs (1)
243DrawingContext drawingContext,
MS\Internal\TextFormatting\SimpleTextLine.cs (3)
485DrawingContext drawingContext, 583DrawingContext drawingContext, 1741DrawingContext drawingContext,
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
254DrawingContext drawingContext,
MS\Internal\TextFormatting\TextShapeableSymbols.cs (1)
151DrawingContext drawingContext,
System\Windows\Ink\Stroke2.cs (4)
59public void Draw(DrawingContext context) 77public void Draw(DrawingContext drawingContext, DrawingAttributes drawingAttributes) 379protected virtual void DrawCore(DrawingContext drawingContext, DrawingAttributes drawingAttributes) 513internal void DrawInternal(DrawingContext dc, DrawingAttributes DrawingAttributes, bool drawAsHollow)
System\Windows\Ink\StrokeCollection2.cs (1)
369public void Draw(DrawingContext context)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (3)
742protected virtual void OnDraw( DrawingContext drawingContext, 819DrawingContext drawingContext = visual.RenderOpen(); 873DrawingContext drawingContext = visual.RenderOpen();
System\Windows\Media\DrawingContextDrawingContextWalker.cs (2)
34public DrawingContextDrawingContextWalker(DrawingContext drawingContext) 42private DrawingContext _drawingContext;
System\Windows\Media\DrawingGroup.cs (2)
68public DrawingContext Open() 84public DrawingContext Append()
System\Windows\Media\DrawingServices.cs (1)
88DrawingContext dc = drawingGroup.Open();
System\Windows\Media\DrawingVisual.cs (1)
77public DrawingContext RenderOpen()
System\Windows\Media\FormattedText.cs (3)
1602DrawingContext ctx = drawing.Open(); 1709DrawingContext dc, 1741private CachedMetrics DrawAndCalculateMetrics(DrawingContext dc, Point drawingOffset, bool getBlackBoxMetrics)
System\Windows\Media\GlyphRun.cs (1)
1673internal void EmitBackground(DrawingContext dc, Brush backgroundBrush)
System\Windows\Media\textformatting\TextEmbeddedObject.cs (1)
84DrawingContext drawingContext,
System\Windows\Media\textformatting\TextLine.cs (1)
59DrawingContext drawingContext,
System\Windows\UIElement.cs (3)
927DrawingContext dc = RenderOpen(); 979protected virtual void OnRender(DrawingContext drawingContext) 3137internal DrawingContext RenderOpen()
PresentationFramework (80)
MS\Internal\AppModel\IconHelper.cs (1)
157DrawingContext dc = dv.RenderOpen();
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
146protected override void OnRender(DrawingContext drawingContext)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
59DrawingContext dc = null; 196protected override void OnRender(DrawingContext drawingContext) 221private void DrawHandles(DrawingContext drawingContext, Rect rectWireFrame) 239private void DrawBackgound(DrawingContext drawingContext)
MS\Internal\Documents\TextBoxLine.cs (1)
209DrawingContext ctx = visual.RenderOpen();
MS\Internal\Documents\TextBoxView.cs (1)
535protected override void OnRender(DrawingContext context)
MS\Internal\Ink\LassoHelper.cs (1)
148DrawingContext dc = null;
MS\Internal\Ink\PenCursorManager.cs (3)
261DrawingContext dc = null; 405DrawingContext dc = null; 440DrawingContext dc = null;
MS\Internal\PtsHost\Line.cs (2)
457DrawingContext ctx = visual.Open(); 683DrawingContext ctx = drawing.Open();
MS\Internal\PtsHost\LineVisual.cs (1)
24internal DrawingContext Open()
MS\Internal\PtsHost\ListMarkerLine.cs (1)
105internal void FormatAndDrawVisual(DrawingContext ctx, LineProperties lineProps, int ur, int vrBaseline)
MS\Internal\PtsHost\ListParaClient.cs (1)
75using(DrawingContext ctx = _visual.RenderOpen())
MS\Internal\PtsHost\PageVisual.cs (2)
50using (DrawingContext dc = RenderOpen()) 97DrawingContext ctx = this.RenderOpen();
MS\Internal\PtsHost\ParagraphVisual.cs (2)
43using (DrawingContext dc = RenderOpen()) 61internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
MS\Internal\PtsHost\RunClient.cs (1)
100public override void Draw(DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways)
MS\Internal\PtsHost\SectionVisual.cs (1)
100using (DrawingContext dc = RenderOpen())
MS\Internal\PtsHost\TableParaClient.cs (4)
229using (DrawingContext dc = _visual.RenderOpen()) 1757private void DrawColumnBackgrounds(DrawingContext dc, Rect tableContentRect) 1833private void DrawRowGroupBackgrounds(DrawingContext dc, PTS.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo) 1890private void DrawRowBackgrounds(DrawingContext dc, PTS.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
MS\Internal\Text\InlineObject.cs (1)
98public override void Draw(DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways)
MS\Internal\Text\Line.cs (1)
114internal void Render(DrawingContext ctx, Point lineOffset)
System\Windows\Controls\Border.cs (1)
367protected override void OnRender(DrawingContext dc)
System\Windows\Controls\DataGridCell.cs (1)
866protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Grid.cs (2)
3999using (DrawingContext drawingContext = RenderOpen()) 4030DrawingContext drawingContext,
System\Windows\Controls\Image.cs (1)
255protected override void OnRender(DrawingContext dc)
System\Windows\Controls\MediaElement.cs (1)
734protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Panel.cs (1)
65protected override void OnRender(DrawingContext dc)
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
197protected override void OnRender(DrawingContext dc)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
467protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
275protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
976using (DrawingContext dc = drawingVisual.RenderOpen())
System\Windows\Controls\Primitives\TickBar.cs (1)
361protected override void OnRender(DrawingContext dc)
System\Windows\Controls\TextBlock.cs (1)
1494protected sealed override void OnRender(DrawingContext ctx)
System\Windows\Controls\ToolBarTray.cs (1)
330protected override void OnRender(DrawingContext dc)
System\windows\Documents\CaretElement.cs (3)
125protected override void OnRender(DrawingContext drawingContext) 633internal void OnRenderCaretSubElement(DrawingContext context) 1216protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\ColumnResizeAdorner.cs (1)
99protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\CompositionAdorner.cs (1)
126protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\FixedPage.cs (4)
150protected override void OnRender(DrawingContext dc) 1164override protected void OnRender(DrawingContext dc) 1239private void _RenderMarkupOrder(DrawingContext dc, List<FixedNode> markupOrder) 1272private void _RenderLabel(DrawingContext dc, string label, Rect boundingRect)
System\Windows\Documents\FixedPageStructure.cs (5)
217private void DrawRectOutline(DrawingContext dc, Pen pen, Rect rect) 226internal void RenderLayoutBox(DrawingContext dc) 248internal void RenderFixedNode(DrawingContext dc) 448internal void RenderFlowNode(DrawingContext dc) 647internal void RenderLines(DrawingContext dc)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
149public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMGroup.cs (1)
154public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMImage.cs (1)
91public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMPage.cs (1)
42public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals)
System\Windows\Documents\FixedSOMSemanticBox.cs (2)
68public abstract void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals) ; 69public void RenderLabel(DrawingContext dc, string label)
System\Windows\Documents\FixedSOMTable.cs (1)
42public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTableCell.cs (1)
44public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTableRow.cs (1)
40public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTextRun.cs (1)
186public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\Glyphs.cs (1)
124protected override void OnRender(DrawingContext context)
System\Windows\Documents\HighlightVisual.cs (3)
84override protected void OnRender(DrawingContext dc) 174private void _UpdateHighlightBackground(DrawingContext dc, ArrayList highlights) 275private void _UpdateHighlightForeground(DrawingContext dc, ArrayList highlights)
System\Windows\Documents\RubberbandSelector.cs (2)
218DrawingContext dc = visual.RenderOpen(); 249DrawingContext dc = visual.RenderOpen();
System\Windows\Documents\SpellerHighlightLayer.cs (1)
152DrawingContext drawingContext = drawingGroup.Open();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
278case 182: t = () => typeof(DrawingContext); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3946typeof(System.Windows.Media.DrawingContext),
System\Windows\Markup\KnownTypes.cs (1)
5736case KnownElements.DrawingContext: t = typeof(System.Windows.Media.DrawingContext); break;
System\Windows\Shapes\Ellipse.cs (1)
190protected override void OnRender(DrawingContext drawingContext)
System\Windows\Shapes\Rectangle.cs (1)
239protected override void OnRender(DrawingContext drawingContext)
System\Windows\Shapes\Shape.cs (1)
420protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Aero (22)
Microsoft\Windows\Themes\BulletChrome.cs (5)
607protected override void OnRender(DrawingContext drawingContext) 624private void DrawBackground(DrawingContext dc, ref Rect bounds) 665private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 706private void DrawGlyph(DrawingContext dc, ref Rect bounds) 736private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
470protected override void OnRender(DrawingContext drawingContext) 488private void DrawBackground(DrawingContext dc, ref Rect bounds) 513private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 534private void DrawBorder(DrawingContext dc, ref Rect bounds) 645private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
307protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
79DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
412protected override void OnRender(DrawingContext drawingContext) 457private void DrawShadow(DrawingContext dc, ref Rect bounds) 475private void DrawBorders(DrawingContext dc, ref Rect bounds) 508private void DrawGlyph(DrawingContext dc, ref Rect bounds) 536private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 559private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 714private 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)
100protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Aero2 (22)
Microsoft\Windows\Themes\BulletChrome.cs (5)
607protected override void OnRender(DrawingContext drawingContext) 624private void DrawBackground(DrawingContext dc, ref Rect bounds) 665private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 706private void DrawGlyph(DrawingContext dc, ref Rect bounds) 736private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
470protected override void OnRender(DrawingContext drawingContext) 488private void DrawBackground(DrawingContext dc, ref Rect bounds) 513private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 534private void DrawBorder(DrawingContext dc, ref Rect bounds) 645private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
307protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
79DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
412protected override void OnRender(DrawingContext drawingContext) 457private void DrawShadow(DrawingContext dc, ref Rect bounds) 475private void DrawBorders(DrawingContext dc, ref Rect bounds) 508private void DrawGlyph(DrawingContext dc, ref Rect bounds) 536private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 559private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 714private 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)
100protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.AeroLite (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
36private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (5)
165protected override void OnRender(DrawingContext drawingContext) 205private void DrawBorders(DrawingContext dc, ref Rect bounds) 222private void DrawGlyph(DrawingContext dc, ref Rect bounds) 243private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 258private 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)
74DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
100protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Classic (22)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (18)
750protected override void OnRender(DrawingContext drawingContext) 929private void DrawBorder(Brush borderBrush, Thickness borderThickness, DrawingContext dc, ref Rect bounds) 983private void DrawBorderPair(Brush highlight, Brush shadow, Thickness singleThickness, DrawingContext dc, ref Rect bounds) 992private void DrawRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1002private void DrawRaisedPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1011private void DrawSunkenBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1021private void DrawEtchedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1032private void DrawHorizontalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1045private void DrawVerticalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1213private void DrawTabLeft(DrawingContext dc, ref Rect bounds) 1235private void DrawTabTop(DrawingContext dc, ref Rect bounds) 1249private void DrawTabRight(DrawingContext dc, ref Rect bounds) 1271private void DrawTabBottom(DrawingContext dc, ref Rect bounds) 1293private void DrawThinRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1301private void DrawThinPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1309private void DrawAltRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1318private void DrawAltPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1326private void DrawRadioButtonBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
46private 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)
74DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
100protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
381private bool DrawOuterHighlight(DrawingContext dc, ref Rect bounds) 418private bool DrawBackground(DrawingContext dc, ref Rect bounds) 436private void DrawShades(DrawingContext dc, ref Rect bounds) 473private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 492private void DrawBorder(DrawingContext dc, ref Rect bounds) 515protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
75private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (7)
220protected override void OnRender(DrawingContext drawingContext) 296private void DrawShadow(DrawingContext dc, ref Rect bounds) 315private void DrawBorders(DrawingContext dc, ref Rect bounds) 348private void DrawGlyph(DrawingContext dc, ScrollGlyph glyph, ref Rect bounds) 378private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 400private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 566private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds, ScrollGlyph glyph)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
202protected override void OnRender(DrawingContext drawingContext) 234private void DrawBackground(DrawingContext dc, ref Rect bounds) 257private void DrawHighlight(DrawingContext dc, ref Rect bounds) 278private void DrawGlyph(DrawingContext dc, ref Rect bounds, bool isUnitThickness) 329private 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)
74DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
100protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Royale (20)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
339private bool DrawBackground(DrawingContext dc, ref Rect bounds) 357private void DrawShades(DrawingContext dc, ref Rect bounds) 394private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 413private void DrawBorder(DrawingContext dc, ref Rect bounds) 436protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
32private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
202protected override void OnRender(DrawingContext drawingContext) 275private void DrawBorders(DrawingContext dc, ref Rect bounds) 308private void DrawGlyph(DrawingContext dc, ScrollGlyph glyph, ref Rect bounds) 338private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 360private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 526private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds, ScrollGlyph glyph)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
202protected override void OnRender(DrawingContext drawingContext) 234private void DrawBackground(DrawingContext dc, ref Rect bounds) 257private void DrawHighlight(DrawingContext dc, ref Rect bounds) 278private void DrawGlyph(DrawingContext dc, ref Rect bounds, bool isUnitThickness) 329private 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)
74DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
100protected override void OnRender(DrawingContext drawingContext)
ReachFramework (24)
AlphaFlattener\BrushProxy.cs (7)
1274public void DrawGeometry(DrawingContext dc, Pen pen, Geometry geo) 1326using (DrawingContext context = drawing.Open()) 1449using (DrawingContext context = drawing.Open()) 1502using (DrawingContext context = drawing.Open()) 3012using (DrawingContext context = drawing.Open()) 3089using (DrawingContext context = drawing.Open()) 3570using (DrawingContext ctx = RenderOpen())
AlphaFlattener\Flattener.cs (3)
1023using (DrawingContext ctx = dv.RenderOpen()) 1296private DrawingContext _ctx; 1305public OutputContext(DrawingContext context)
AlphaFlattener\MetroDevice.cs (3)
672DrawingContext dc = s_TestingHook as DrawingContext; 763s_TestingHook = obj as DrawingContext;
AlphaFlattener\Optimizer.cs (1)
65using (DrawingContext ctx = visual.RenderOpen())
AlphaFlattener\Primitive.cs (7)
68public abstract void OnRender(DrawingContext ctx); 548protected int PushAll(DrawingContext dc) 587protected static void PopAll(DrawingContext dc, int levels) 1114public override void OnRender(DrawingContext dc) 1678public override void OnRender(DrawingContext dc) 1818public override void OnRender(DrawingContext dc) 2011public override void OnRender(DrawingContext dc)
AlphaFlattener\Utility.cs (1)
1951using (DrawingContext context = visual.RenderOpen())
Serialization\DrawingContextFlattener.cs (2)
885private DrawingContext _context = null; 895public DrawingFlattenDrawingContext(DrawingContext context)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
132protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
234protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (1)
254DrawingContext dc = dv.RenderOpen();
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
279protected override void OnRender(DrawingContext drawingContext)
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
336DrawingContext drawingContext = drawingVisual.RenderOpen();