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