1 write to DefaultDrawingAttributes
PresentationFramework (1)
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1835
( (InkCanvas)( Content.InnerControl ) ).
DefaultDrawingAttributes
= da;
11 references to DefaultDrawingAttributes
PresentationFramework (11)
src\Framework\MS\Internal\Ink\InkCollectionBehavior.cs (4)
279
_strokeDrawingAttributes = this.InkCanvas.
DefaultDrawingAttributes
.Clone();
399
if ( _cachedPenCursor == null || _cursorDrawingAttributes != InkCanvas.
DefaultDrawingAttributes
)
404
DrawingAttributes da = this.InkCanvas.
DefaultDrawingAttributes
;
418
_cursorDrawingAttributes = InkCanvas.
DefaultDrawingAttributes
.Clone();
src\Framework\System\Windows\Controls\InkCanvas.cs (7)
187
DefaultDrawingAttributes
.AttributeChanged += new PropertyDataChangedEventHandler(DefaultDrawingAttributes_Changed);
2091
_dynamicRenderer.DrawingAttributes = this.
DefaultDrawingAttributes
;
2098
this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.
DefaultDrawingAttributes
);
2703
System.Diagnostics.Debug.Assert(object.ReferenceEquals(sender,
DefaultDrawingAttributes
));
2719
UpdateDynamicRenderer(
DefaultDrawingAttributes
);
3104
DrawingAttributes highContrastDa = _thisInkCanvas.
DefaultDrawingAttributes
.Clone();
3116
_thisInkCanvas.UpdateDynamicRenderer(_thisInkCanvas.
DefaultDrawingAttributes
);