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