1 write to DefaultDrawingAttributes
PresentationFramework (1)
System\Windows\Controls\StickyNote.cs (1)
1798
( (InkCanvas)( Content.InnerControl ) ).
DefaultDrawingAttributes
= da;
11 references to DefaultDrawingAttributes
PresentationFramework (11)
MS\Internal\Ink\InkCollectionBehavior.cs (4)
247
_strokeDrawingAttributes = this.InkCanvas.
DefaultDrawingAttributes
.Clone();
347
if ( _cachedPenCursor == null || _cursorDrawingAttributes != InkCanvas.
DefaultDrawingAttributes
)
352
DrawingAttributes da = this.InkCanvas.
DefaultDrawingAttributes
;
366
_cursorDrawingAttributes = InkCanvas.
DefaultDrawingAttributes
.Clone();
System\Windows\Controls\InkCanvas.cs (7)
176
DefaultDrawingAttributes
.AttributeChanged += new PropertyDataChangedEventHandler(DefaultDrawingAttributes_Changed);
2006
_dynamicRenderer.DrawingAttributes = this.
DefaultDrawingAttributes
;
2013
this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.
DefaultDrawingAttributes
);
2563
System.Diagnostics.Debug.Assert(object.ReferenceEquals(sender,
DefaultDrawingAttributes
));
2579
UpdateDynamicRenderer(
DefaultDrawingAttributes
);
2957
DrawingAttributes highContrastDa = _thisInkCanvas.
DefaultDrawingAttributes
.Clone();
2969
_thisInkCanvas.UpdateDynamicRenderer(_thisInkCanvas.
DefaultDrawingAttributes
);