2 writes to _dynamicRenderer
PresentationFramework (2)
System\Windows\Controls\InkCanvas.cs (2)
158_dynamicRenderer = new DynamicRenderer 1986_dynamicRenderer = value;
16 references to _dynamicRenderer
PresentationFramework (16)
System\Windows\Controls\InkCanvas.cs (16)
162this.StylusPlugIns.Add(_dynamicRenderer); 1966if (!object.ReferenceEquals(value, _dynamicRenderer)) 1970if (_dynamicRenderer != null) 1973previousIndex = this.StylusPlugIns.IndexOf(_dynamicRenderer); 1980if (this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.RootVisual)) 1982this.InkPresenter.DetachVisuals(_dynamicRenderer.RootVisual); 1988if (_dynamicRenderer != null) //null is acceptable 1991if (!this.StylusPlugIns.Contains(_dynamicRenderer)) 1996this.StylusPlugIns.Insert(previousIndex, _dynamicRenderer); 2000this.StylusPlugIns.Add(_dynamicRenderer); 2005_dynamicRenderer.DrawingAttributes = this.DefaultDrawingAttributes; 2008if (!(this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.RootVisual)) && 2009_dynamicRenderer.Enabled && 2010_dynamicRenderer.RootVisual != null) 2012this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.DefaultDrawingAttributes); 2183return _dynamicRenderer;