2 writes to _dynamicRenderer
PresentationFramework (2)
System\Windows\Controls\InkCanvas.cs (2)
159_dynamicRenderer = new DynamicRenderer 1987_dynamicRenderer = value;
16 references to _dynamicRenderer
PresentationFramework (16)
System\Windows\Controls\InkCanvas.cs (16)
163this.StylusPlugIns.Add(_dynamicRenderer); 1967if (!object.ReferenceEquals(value, _dynamicRenderer)) 1971if (_dynamicRenderer != null) 1974previousIndex = this.StylusPlugIns.IndexOf(_dynamicRenderer); 1981if (this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.RootVisual)) 1983this.InkPresenter.DetachVisuals(_dynamicRenderer.RootVisual); 1989if (_dynamicRenderer != null) //null is acceptable 1992if (!this.StylusPlugIns.Contains(_dynamicRenderer)) 1997this.StylusPlugIns.Insert(previousIndex, _dynamicRenderer); 2001this.StylusPlugIns.Add(_dynamicRenderer); 2006_dynamicRenderer.DrawingAttributes = this.DefaultDrawingAttributes; 2009if (!(this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.RootVisual)) && 2010_dynamicRenderer.Enabled && 2011_dynamicRenderer.RootVisual != null) 2013this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.DefaultDrawingAttributes); 2184return _dynamicRenderer;