5 types derived from DrawingContext
PresentationCore (5)
System\Windows\Media\DrawingContextWalker.cs (1)
15internal abstract partial class DrawingContextWalker : DrawingContext
System\Windows\Media\DrawingDrawingContext.cs (1)
13internal class DrawingDrawingContext : DrawingContext
System\Windows\Media\Generated\DrawingContextWalker.cs (1)
24internal abstract partial class DrawingContextWalker : DrawingContext
System\Windows\Media\Generated\RenderDataDrawingContext.cs (1)
23internal partial class RenderDataDrawingContext : DrawingContext
System\Windows\Media\RenderDataDrawingContext.cs (1)
19internal partial class RenderDataDrawingContext : DrawingContext, IDisposable
267 references to DrawingContext
PresentationCore (41)
MS\Internal\Ink\Renderer.cs (1)
67using (DrawingContext drawingContext = RenderOpen())
MS\Internal\TextFormatting\DrawingState.cs (3)
24private DrawingContext _drawingContext; // current drawing context 35DrawingContext drawingContext, 114internal DrawingContext DrawingContext
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
214DrawingContext drawingContext,
MS\Internal\TextFormatting\FullTextLine.cs (3)
530DrawingContext drawingContext, 574DrawingContext drawingContext, 657DrawingContext drawingContext,
MS\Internal\TextFormatting\LineServicesCallbacks.cs (4)
1271DrawingContext drawingContext = Draw.DrawingContext; 1446DrawingContext drawingContext = Draw.DrawingContext; 1818DrawingContext drawingContext = Draw.DrawingContext; 2507DrawingContext drawingContext = Draw.DrawingContext;
MS\Internal\TextFormatting\LineServicesRun.cs (1)
228DrawingContext drawingContext,
MS\Internal\TextFormatting\SimpleTextLine.cs (3)
475DrawingContext drawingContext, 573DrawingContext drawingContext, 1729DrawingContext drawingContext,
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
245DrawingContext drawingContext,
MS\Internal\TextFormatting\TextShapeableSymbols.cs (1)
145DrawingContext drawingContext,
System\Windows\Ink\Stroke2.cs (4)
49public void Draw(DrawingContext context) 67public void Draw(DrawingContext drawingContext, DrawingAttributes drawingAttributes) 363protected virtual void DrawCore(DrawingContext drawingContext, DrawingAttributes drawingAttributes) 496internal void DrawInternal(DrawingContext dc, DrawingAttributes DrawingAttributes, bool drawAsHollow)
System\Windows\Ink\StrokeCollection2.cs (1)
346public void Draw(DrawingContext context)
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (3)
723protected virtual void OnDraw( DrawingContext drawingContext, 800DrawingContext drawingContext = visual.RenderOpen(); 849DrawingContext drawingContext = visual.RenderOpen();
System\Windows\Media\DrawingContextDrawingContextWalker.cs (2)
23public DrawingContextDrawingContextWalker(DrawingContext drawingContext) 31private DrawingContext _drawingContext;
System\Windows\Media\DrawingGroup.cs (2)
38public DrawingContext Open() 54public DrawingContext Append()
System\Windows\Media\DrawingServices.cs (1)
84DrawingContext dc = drawingGroup.Open();
System\Windows\Media\DrawingVisual.cs (1)
66public DrawingContext RenderOpen()
System\Windows\Media\FormattedText.cs (3)
1565DrawingContext ctx = drawing.Open(); 1672DrawingContext dc, 1704private CachedMetrics DrawAndCalculateMetrics(DrawingContext dc, Point drawingOffset, bool getBlackBoxMetrics)
System\Windows\Media\GlyphRun.cs (1)
1646internal void EmitBackground(DrawingContext dc, Brush backgroundBrush)
System\Windows\Media\textformatting\TextEmbeddedObject.cs (1)
75DrawingContext drawingContext,
System\Windows\Media\textformatting\TextLine.cs (1)
49DrawingContext drawingContext,
System\Windows\UIElement.cs (3)
917DrawingContext dc = RenderOpen(); 969protected virtual void OnRender(DrawingContext drawingContext) 3119internal DrawingContext RenderOpen()
PresentationFramework (80)
MS\Internal\AppModel\IconHelper.cs (1)
148DrawingContext dc = dv.RenderOpen();
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
142protected override void OnRender(DrawingContext drawingContext)
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
51DrawingContext 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)
201DrawingContext ctx = visual.RenderOpen();
MS\Internal\Documents\TextBoxView.cs (1)
490protected override void OnRender(DrawingContext context)
MS\Internal\Ink\LassoHelper.cs (1)
143DrawingContext dc = null;
MS\Internal\Ink\PenCursorManager.cs (3)
257DrawingContext dc = null; 400DrawingContext dc = null; 432DrawingContext dc = null;
MS\Internal\PtsHost\Line.cs (2)
438DrawingContext ctx = visual.Open(); 664DrawingContext ctx = drawing.Open();
MS\Internal\PtsHost\LineVisual.cs (1)
22internal DrawingContext Open()
MS\Internal\PtsHost\ListMarkerLine.cs (1)
97internal void FormatAndDrawVisual(DrawingContext ctx, LineProperties lineProps, int ur, int vrBaseline)
MS\Internal\PtsHost\ListParaClient.cs (1)
70using(DrawingContext ctx = _visual.RenderOpen())
MS\Internal\PtsHost\PageVisual.cs (2)
44using (DrawingContext dc = RenderOpen()) 91DrawingContext ctx = this.RenderOpen();
MS\Internal\PtsHost\ParagraphVisual.cs (2)
41using (DrawingContext dc = RenderOpen()) 59internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk)
MS\Internal\PtsHost\RunClient.cs (1)
96public override void Draw(DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways)
MS\Internal\PtsHost\SectionVisual.cs (1)
96using (DrawingContext dc = RenderOpen())
MS\Internal\PtsHost\TableParaClient.cs (4)
222using (DrawingContext dc = _visual.RenderOpen()) 1750private void DrawColumnBackgrounds(DrawingContext dc, Rect tableContentRect) 1826private void DrawRowGroupBackgrounds(DrawingContext dc, PTS.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo) 1883private void DrawRowBackgrounds(DrawingContext dc, PTS.FSTABLEROWDESCRIPTION[] arrayTableRowDesc, Rect tableContentRect, MbpInfo mbpInfo)
MS\Internal\Text\InlineObject.cs (1)
94public override void Draw(DrawingContext drawingContext, Point origin, bool rightToLeft, bool sideways)
MS\Internal\Text\Line.cs (1)
106internal void Render(DrawingContext ctx, Point lineOffset)
System\Windows\Controls\Border.cs (1)
362protected override void OnRender(DrawingContext dc)
System\Windows\Controls\DataGridCell.cs (1)
846protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Grid.cs (2)
3982using (DrawingContext drawingContext = RenderOpen()) 4013DrawingContext drawingContext,
System\Windows\Controls\Image.cs (1)
246protected override void OnRender(DrawingContext dc)
System\Windows\Controls\MediaElement.cs (1)
726protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Panel.cs (1)
57protected override void OnRender(DrawingContext dc)
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
190protected override void OnRender(DrawingContext dc)
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
458protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
270protected override void OnRender(DrawingContext drawingContext)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
969using (DrawingContext dc = drawingVisual.RenderOpen())
System\Windows\Controls\Primitives\TickBar.cs (1)
346protected override void OnRender(DrawingContext dc)
System\Windows\Controls\TextBlock.cs (1)
1475protected sealed override void OnRender(DrawingContext ctx)
System\Windows\Controls\ToolBarTray.cs (1)
321protected override void OnRender(DrawingContext dc)
System\windows\Documents\CaretElement.cs (3)
120protected override void OnRender(DrawingContext drawingContext) 628internal void OnRenderCaretSubElement(DrawingContext context) 1204protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\ColumnResizeAdorner.cs (1)
90protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\CompositionAdorner.cs (1)
122protected override void OnRender(DrawingContext drawingContext)
System\Windows\Documents\FixedPage.cs (4)
143protected override void OnRender(DrawingContext dc) 1157protected override void OnRender(DrawingContext dc) 1232private void _RenderMarkupOrder(DrawingContext dc, List<FixedNode> markupOrder) 1265private void _RenderLabel(DrawingContext dc, string label, Rect boundingRect)
System\Windows\Documents\FixedPageStructure.cs (5)
210private void DrawRectOutline(DrawingContext dc, Pen pen, Rect rect) 219internal void RenderLayoutBox(DrawingContext dc) 241internal void RenderFixedNode(DrawingContext dc) 441internal void RenderFlowNode(DrawingContext dc) 640internal void RenderLines(DrawingContext dc)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
144public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMGroup.cs (1)
149public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMImage.cs (1)
88public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMPage.cs (1)
38public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals)
System\Windows\Documents\FixedSOMSemanticBox.cs (2)
63public abstract void Render(DrawingContext dc, string label, DrawDebugVisual debugVisuals) ; 64public void RenderLabel(DrawingContext dc, string label)
System\Windows\Documents\FixedSOMTable.cs (1)
36public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTableCell.cs (1)
39public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTableRow.cs (1)
35public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\FixedSOMTextRun.cs (1)
183public override void Render(DrawingContext dc, string label, DrawDebugVisual debugVisual)
System\Windows\Documents\Glyphs.cs (1)
109protected override void OnRender(DrawingContext context)
System\Windows\Documents\HighlightVisual.cs (3)
73protected override void OnRender(DrawingContext dc) 163private void _UpdateHighlightBackground(DrawingContext dc, ArrayList highlights) 266private void _UpdateHighlightForeground(DrawingContext dc, ArrayList highlights)
System\Windows\Documents\RubberbandSelector.cs (2)
204DrawingContext dc = visual.RenderOpen(); 235DrawingContext dc = visual.RenderOpen();
System\Windows\Documents\SpellerHighlightLayer.cs (1)
148DrawingContext drawingContext = drawingGroup.Open();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
275case 182: t = () => typeof(DrawingContext); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4247typeof(System.Windows.Media.DrawingContext),
System\Windows\Markup\KnownTypes.cs (1)
5729case KnownElements.DrawingContext: t = typeof(System.Windows.Media.DrawingContext); break;
System\Windows\Shapes\Ellipse.cs (1)
180protected override void OnRender(DrawingContext drawingContext)
System\Windows\Shapes\Rectangle.cs (1)
230protected override void OnRender(DrawingContext drawingContext)
System\Windows\Shapes\Shape.cs (1)
414protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Aero (22)
Microsoft\Windows\Themes\BulletChrome.cs (5)
614protected override void OnRender(DrawingContext drawingContext) 631private void DrawBackground(DrawingContext dc, ref Rect bounds) 672private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 713private void DrawGlyph(DrawingContext dc, ref Rect bounds) 743private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
468protected override void OnRender(DrawingContext drawingContext) 486private void DrawBackground(DrawingContext dc, ref Rect bounds) 511private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 532private void DrawBorder(DrawingContext dc, ref Rect bounds) 644private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
32private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
299protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
76DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
414protected override void OnRender(DrawingContext drawingContext) 459private void DrawShadow(DrawingContext dc, ref Rect bounds) 477private void DrawBorders(DrawingContext dc, ref Rect bounds) 510private void DrawGlyph(DrawingContext dc, ref Rect bounds) 538private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 561private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 724private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
284protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
95protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Aero2 (22)
Microsoft\Windows\Themes\BulletChrome.cs (5)
614protected override void OnRender(DrawingContext drawingContext) 631private void DrawBackground(DrawingContext dc, ref Rect bounds) 672private void DrawInnerBorder(DrawingContext dc, ref Rect bounds) 713private void DrawGlyph(DrawingContext dc, ref Rect bounds) 743private void DrawBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
468protected override void OnRender(DrawingContext drawingContext) 486private void DrawBackground(DrawingContext dc, ref Rect bounds) 511private void DrawDropShadows(DrawingContext dc, ref Rect bounds) 532private void DrawBorder(DrawingContext dc, ref Rect bounds) 644private void DrawInnerBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
32private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
299protected override void OnRender(DrawingContext dc)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
76DrawingContext myDrawingContext = myDrawing.Open();
Microsoft\Windows\Themes\ScrollChrome.cs (7)
414protected override void OnRender(DrawingContext drawingContext) 459private void DrawShadow(DrawingContext dc, ref Rect bounds) 477private void DrawBorders(DrawingContext dc, ref Rect bounds) 510private void DrawGlyph(DrawingContext dc, ref Rect bounds) 538private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 561private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 724private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
284protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
95protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.AeroLite (9)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
32private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (5)
158protected override void OnRender(DrawingContext drawingContext) 198private void DrawBorders(DrawingContext dc, ref Rect bounds) 215private void DrawGlyph(DrawingContext dc, ref Rect bounds) 236private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 251private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
284protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
95protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Classic (22)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (18)
748protected 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) 1217private void DrawTabLeft(DrawingContext dc, ref Rect bounds) 1239private void DrawTabTop(DrawingContext dc, ref Rect bounds) 1253private void DrawTabRight(DrawingContext dc, ref Rect bounds) 1275private void DrawTabBottom(DrawingContext dc, ref Rect bounds) 1297private void DrawThinRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1305private void DrawThinPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1313private void DrawAltRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1322private void DrawAltPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1330private void DrawRadioButtonBorder(DrawingContext dc, ref Rect bounds)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
41private void RenderTheme(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
284protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
95protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Luna (22)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
375private bool DrawOuterHighlight(DrawingContext dc, ref Rect bounds) 412private bool DrawBackground(DrawingContext dc, ref Rect bounds) 430private void DrawShades(DrawingContext dc, ref Rect bounds) 467private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 486private void DrawBorder(DrawingContext dc, ref Rect bounds) 509protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
71private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (7)
215protected override void OnRender(DrawingContext drawingContext) 291private void DrawShadow(DrawingContext dc, ref Rect bounds) 310private void DrawBorders(DrawingContext dc, ref Rect bounds) 343private void DrawGlyph(DrawingContext dc, ScrollGlyph glyph, ref Rect bounds) 373private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 395private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 569private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds, ScrollGlyph glyph)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
195protected override void OnRender(DrawingContext drawingContext) 227private void DrawBackground(DrawingContext dc, ref Rect bounds) 250private void DrawHighlight(DrawingContext dc, ref Rect bounds) 271private void DrawGlyph(DrawingContext dc, ref Rect bounds, bool isUnitThickness) 322private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
284protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
95protected override void OnRender(DrawingContext drawingContext)
PresentationFramework.Royale (20)
Microsoft\Windows\Themes\ButtonChrome.cs (5)
333private bool DrawBackground(DrawingContext dc, ref Rect bounds) 351private void DrawShades(DrawingContext dc, ref Rect bounds) 388private void DrawInnerHighlight(DrawingContext dc, ref Rect bounds) 407private void DrawBorder(DrawingContext dc, ref Rect bounds) 430protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
28private void RenderTheme(DrawingContext dc)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
197protected override void OnRender(DrawingContext drawingContext) 270private void DrawBorders(DrawingContext dc, ref Rect bounds) 303private void DrawGlyph(DrawingContext dc, ScrollGlyph glyph, ref Rect bounds) 333private void DrawHorizontalGripper(DrawingContext dc, Brush brush, Rect bounds) 355private void DrawVerticalGripper(DrawingContext dc, Brush brush, Rect bounds) 529private void DrawArrow(DrawingContext dc, Brush brush, Rect bounds, ScrollGlyph glyph)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (5)
195protected override void OnRender(DrawingContext drawingContext) 227private void DrawBackground(DrawingContext dc, ref Rect bounds) 250private void DrawHighlight(DrawingContext dc, ref Rect bounds) 271private void DrawGlyph(DrawingContext dc, ref Rect bounds, bool isUnitThickness) 322private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
284protected override void OnRender(DrawingContext dc)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
71DrawingContext myDrawingContext = myDrawing.Open();
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
95protected override void OnRender(DrawingContext drawingContext)
ReachFramework (24)
AlphaFlattener\BrushProxy.cs (7)
1267public void DrawGeometry(DrawingContext dc, Pen pen, Geometry geo) 1319using (DrawingContext context = drawing.Open()) 1443using (DrawingContext context = drawing.Open()) 1496using (DrawingContext context = drawing.Open()) 3008using (DrawingContext context = drawing.Open()) 3085using (DrawingContext context = drawing.Open()) 3567using (DrawingContext ctx = RenderOpen())
AlphaFlattener\Flattener.cs (3)
1016using (DrawingContext ctx = dv.RenderOpen()) 1293private DrawingContext _ctx; 1302public OutputContext(DrawingContext context)
AlphaFlattener\MetroDevice.cs (3)
667DrawingContext dc = s_TestingHook as DrawingContext; 758s_TestingHook = obj as DrawingContext;
AlphaFlattener\Optimizer.cs (1)
60using (DrawingContext ctx = visual.RenderOpen())
AlphaFlattener\Primitive.cs (7)
62public abstract void OnRender(DrawingContext ctx); 546protected int PushAll(DrawingContext dc) 585protected static void PopAll(DrawingContext dc, int levels) 1110public override void OnRender(DrawingContext dc) 1677public override void OnRender(DrawingContext dc) 1817public override void OnRender(DrawingContext dc) 2011public override void OnRender(DrawingContext dc)
AlphaFlattener\Utility.cs (1)
1933using (DrawingContext context = visual.RenderOpen())
Serialization\DrawingContextFlattener.cs (2)
873private DrawingContext _context = null; 883public DrawingFlattenDrawingContext(DrawingContext context)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
123protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
230protected override void OnRender(DrawingContext drawingContext)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (1)
251DrawingContext dc = dv.RenderOpen();
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (1)
276protected override void OnRender(DrawingContext drawingContext)
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
331DrawingContext drawingContext = drawingVisual.RenderOpen();