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