1 write to DefaultDrawingAttributes
PresentationFramework (1)
System\Windows\Controls\StickyNote.cs (1)
1783
( (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)
174
DefaultDrawingAttributes
.AttributeChanged += new PropertyDataChangedEventHandler(DefaultDrawingAttributes_Changed);
2006
_dynamicRenderer.DrawingAttributes = this.
DefaultDrawingAttributes
;
2013
this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.
DefaultDrawingAttributes
);
2567
System.Diagnostics.Debug.Assert(object.ReferenceEquals(sender,
DefaultDrawingAttributes
));
2583
UpdateDynamicRenderer(
DefaultDrawingAttributes
);
2961
DrawingAttributes highContrastDa = _thisInkCanvas.
DefaultDrawingAttributes
.Clone();
2973
_thisInkCanvas.UpdateDynamicRenderer(_thisInkCanvas.
DefaultDrawingAttributes
);