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