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, 118internal DrawingContext DrawingContext
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
215DrawingContext drawingContext,
MS\Internal\TextFormatting\FullTextLine.cs (3)
529DrawingContext drawingContext, 573DrawingContext drawingContext, 656DrawingContext drawingContext,
MS\Internal\TextFormatting\LineServicesCallbacks.cs (4)
1281DrawingContext drawingContext = Draw.DrawingContext; 1456DrawingContext drawingContext = Draw.DrawingContext; 1828DrawingContext drawingContext = Draw.DrawingContext; 2513DrawingContext drawingContext = Draw.DrawingContext;
MS\Internal\TextFormatting\LineServicesRun.cs (1)
229DrawingContext drawingContext,
MS\Internal\TextFormatting\SimpleTextLine.cs (3)
476DrawingContext drawingContext, 574DrawingContext drawingContext, 1732DrawingContext 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) 370protected virtual void DrawCore(DrawingContext drawingContext, DrawingAttributes drawingAttributes) 503internal void DrawInternal(DrawingContext dc, DrawingAttributes DrawingAttributes, bool drawAsHollow)
System\Windows\Ink\StrokeCollection2.cs (1)
362public void Draw(DrawingContext context)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (3)
728protected virtual void OnDraw( DrawingContext drawingContext, 805DrawingContext drawingContext = visual.RenderOpen(); 859DrawingContext 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)
1586DrawingContext ctx = drawing.Open(); 1693DrawingContext dc, 1725private CachedMetrics DrawAndCalculateMetrics(DrawingContext dc, Point drawingOffset, bool getBlackBoxMetrics)
System\Windows\Media\GlyphRun.cs (1)
1660internal 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)
922DrawingContext dc = RenderOpen(); 974protected virtual void OnRender(DrawingContext drawingContext) 3128internal 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; 189protected override void OnRender(DrawingContext drawingContext) 214private void DrawHandles(DrawingContext drawingContext, Rect rectWireFrame) 232private void DrawBackgound(DrawingContext drawingContext)
MS\Internal\Documents\TextBoxLine.cs (1)
202DrawingContext ctx = visual.RenderOpen();
MS\Internal\Documents\TextBoxView.cs (1)
533protected override void OnRender(DrawingContext context)
MS\Internal\Ink\LassoHelper.cs (1)
143DrawingContext dc = null;
MS\Internal\Ink\PenCursorManager.cs (3)
256DrawingContext dc = null; 400DrawingContext dc = null; 435DrawingContext dc = null;
MS\Internal\PtsHost\Line.cs (2)
451DrawingContext ctx = visual.Open(); 677DrawingContext 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)
859protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Grid.cs (2)
3990using (DrawingContext drawingContext = RenderOpen()) 4021DrawingContext 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)
462protected 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)
972using (DrawingContext dc = drawingVisual.RenderOpen())
System\Windows\Controls\Primitives\TickBar.cs (1)
347protected override void OnRender(DrawingContext dc)
System\Windows\Controls\TextBlock.cs (1)
1484protected sealed override void OnRender(DrawingContext ctx)
System\Windows\Controls\ToolBarTray.cs (1)
322protected override void OnRender(DrawingContext dc)
System\windows\Documents\CaretElement.cs (3)
122protected override void OnRender(DrawingContext drawingContext) 630internal void OnRenderCaretSubElement(DrawingContext context) 1213protected 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)
142protected override void OnRender(DrawingContext dc) 1156override protected void OnRender(DrawingContext dc) 1231private void _RenderMarkupOrder(DrawingContext dc, List<FixedNode> markupOrder) 1264private 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)
182public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\Glyphs.cs (1)
111protected override void OnRender(DrawingContext context)
System\Windows\Documents\HighlightVisual.cs (3)
74override protected void OnRender(DrawingContext dc) 164private void _UpdateHighlightBackground(DrawingContext dc, ArrayList highlights) 265private void _UpdateHighlightForeground(DrawingContext dc, ArrayList highlights)
System\Windows\Documents\RubberbandSelector.cs (2)
208DrawingContext dc = visual.RenderOpen(); 239DrawingContext 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)
3944typeof(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)
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)
601protected override void OnRender(DrawingContext drawingContext) 618private void DrawBackground(DrawingContext dc, ref Rect bounds) 659private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 700private void DrawGlyph(DrawingContext dc, ref Rect bounds) 730private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
461protected override void OnRender(DrawingContext drawingContext) 479private void DrawBackground(DrawingContext dc, ref Rect bounds) 504private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 525private void DrawBorder(DrawingContext dc, ref Rect bounds) 636private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
33private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
301protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
77DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
407protected override void OnRender(DrawingContext drawingContext) 452private void DrawShadow(DrawingContext dc, ref Rect bounds) 470private void DrawBorders(DrawingContext dc, ref Rect bounds) 503private void DrawGlyph(DrawingContext dc, ref Rect bounds) 531private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 554private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 709private 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)
601protected override void OnRender(DrawingContext drawingContext) 618private void DrawBackground(DrawingContext dc, ref Rect bounds) 659private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 700private void DrawGlyph(DrawingContext dc, ref Rect bounds) 730private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
461protected override void OnRender(DrawingContext drawingContext) 479private void DrawBackground(DrawingContext dc, ref Rect bounds) 504private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 525private void DrawBorder(DrawingContext dc, ref Rect bounds) 636private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
33private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
301protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
77DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
407protected override void OnRender(DrawingContext drawingContext) 452private void DrawShadow(DrawingContext dc, ref Rect bounds) 470private void DrawBorders(DrawingContext dc, ref Rect bounds) 503private void DrawGlyph(DrawingContext dc, ref Rect bounds) 531private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 554private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 709private 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)
747protected override void OnRender(DrawingContext drawingContext) 926private void DrawBorder(Brush borderBrush, Thickness borderThickness, DrawingContext dc, ref Rect bounds) 980private void DrawBorderPair(Brush highlight, Brush shadow, Thickness singleThickness, DrawingContext dc, ref Rect bounds) 989private void DrawRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 999private void DrawRaisedPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1008private void DrawSunkenBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1018private void DrawEtchedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1029private void DrawHorizontalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1042private void DrawVerticalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1210private void DrawTabLeft(DrawingContext dc, ref Rect bounds) 1232private void DrawTabTop(DrawingContext dc, ref Rect bounds) 1246private void DrawTabRight(DrawingContext dc, ref Rect bounds) 1268private void DrawTabBottom(DrawingContext dc, ref Rect bounds) 1290private void DrawThinRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1298private void DrawThinPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1306private void DrawAltRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1315private void DrawAltPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1323private 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)
378private bool DrawOuterHighlight(DrawingContext dc, ref Rect bounds) 415private bool DrawBackground(DrawingContext dc, ref Rect bounds) 433private void DrawShades(DrawingContext dc, ref Rect bounds) 470private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 489private void DrawBorder(DrawingContext dc, ref Rect bounds) 512protected 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) 562private 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)
336private bool DrawBackground(DrawingContext dc, ref Rect bounds) 354private void DrawShades(DrawingContext dc, ref Rect bounds) 391private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 410private void DrawBorder(DrawingContext dc, ref Rect bounds) 433protected 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) 522private 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)
1270public void DrawGeometry(DrawingContext dc, Pen pen, Geometry geo) 1322using (DrawingContext context = drawing.Open()) 1445using (DrawingContext context = drawing.Open()) 1498using (DrawingContext context = drawing.Open()) 3008using (DrawingContext context = drawing.Open()) 3085using (DrawingContext context = drawing.Open()) 3566using (DrawingContext ctx = RenderOpen())
AlphaFlattener\Flattener.cs (3)
1018using (DrawingContext ctx = dv.RenderOpen()) 1291private DrawingContext _ctx; 1300public OutputContext(DrawingContext context)
AlphaFlattener\MetroDevice.cs (3)
666DrawingContext dc = s_TestingHook as DrawingContext; 757s_TestingHook = obj as DrawingContext;
AlphaFlattener\Optimizer.cs (1)
61using (DrawingContext ctx = visual.RenderOpen())
AlphaFlattener\Primitive.cs (7)
63public abstract void OnRender(DrawingContext ctx); 543protected int PushAll(DrawingContext dc) 582protected static void PopAll(DrawingContext dc, int levels) 1109public override void OnRender(DrawingContext dc) 1673public override void OnRender(DrawingContext dc) 1813public override void OnRender(DrawingContext dc) 2006public override void OnRender(DrawingContext dc)
AlphaFlattener\Utility.cs (1)
1933using (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)
127protected 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();