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