1 write to DefaultDrawingAttributes
PresentationFramework (1)
System\Windows\Controls\StickyNote.cs (1)
1782
( (InkCanvas)( Content.InnerControl ) ).
DefaultDrawingAttributes
= da;
11 references to DefaultDrawingAttributes
PresentationFramework (11)
MS\Internal\Ink\InkCollectionBehavior.cs (4)
238
_strokeDrawingAttributes = this.InkCanvas.
DefaultDrawingAttributes
.Clone();
338
if ( _cachedPenCursor == null || _cursorDrawingAttributes != InkCanvas.
DefaultDrawingAttributes
)
343
DrawingAttributes da = this.InkCanvas.
DefaultDrawingAttributes
;
357
_cursorDrawingAttributes = InkCanvas.
DefaultDrawingAttributes
.Clone();
System\Windows\Controls\InkCanvas.cs (7)
164
DefaultDrawingAttributes
.AttributeChanged += new PropertyDataChangedEventHandler(DefaultDrawingAttributes_Changed);
1994
_dynamicRenderer.DrawingAttributes = this.
DefaultDrawingAttributes
;
2001
this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.
DefaultDrawingAttributes
);
2551
System.Diagnostics.Debug.Assert(object.ReferenceEquals(sender,
DefaultDrawingAttributes
));
2567
UpdateDynamicRenderer(
DefaultDrawingAttributes
);
2945
DrawingAttributes highContrastDa = _thisInkCanvas.
DefaultDrawingAttributes
.Clone();
2957
_thisInkCanvas.UpdateDynamicRenderer(_thisInkCanvas.
DefaultDrawingAttributes
);