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(); 338if ( _cachedPenCursor == null || _cursorDrawingAttributes != InkCanvas.DefaultDrawingAttributes ) 343DrawingAttributes da = this.InkCanvas.DefaultDrawingAttributes; 357_cursorDrawingAttributes = InkCanvas.DefaultDrawingAttributes.Clone();
System\Windows\Controls\InkCanvas.cs (7)
164DefaultDrawingAttributes.AttributeChanged += new PropertyDataChangedEventHandler(DefaultDrawingAttributes_Changed); 1994_dynamicRenderer.DrawingAttributes = this.DefaultDrawingAttributes; 2001this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.DefaultDrawingAttributes); 2551System.Diagnostics.Debug.Assert(object.ReferenceEquals(sender, DefaultDrawingAttributes)); 2567UpdateDynamicRenderer(DefaultDrawingAttributes); 2945DrawingAttributes highContrastDa = _thisInkCanvas.DefaultDrawingAttributes.Clone(); 2957_thisInkCanvas.UpdateDynamicRenderer(_thisInkCanvas.DefaultDrawingAttributes);