2 writes to _dynamicRenderer
PresentationFramework (2)
System\Windows\Controls\InkCanvas.cs (2)
151_dynamicRenderer = new DynamicRenderer(); 1975_dynamicRenderer = value;
17 references to _dynamicRenderer
PresentationFramework (17)
System\Windows\Controls\InkCanvas.cs (17)
152_dynamicRenderer.Enabled = false; 153this.StylusPlugIns.Add(_dynamicRenderer); 1955if (!object.ReferenceEquals(value, _dynamicRenderer)) 1959if (_dynamicRenderer != null) 1962previousIndex = this.StylusPlugIns.IndexOf(_dynamicRenderer); 1969if (this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.RootVisual)) 1971this.InkPresenter.DetachVisuals(_dynamicRenderer.RootVisual); 1977if (_dynamicRenderer != null) //null is acceptable 1980if (!this.StylusPlugIns.Contains(_dynamicRenderer)) 1985this.StylusPlugIns.Insert(previousIndex, _dynamicRenderer); 1989this.StylusPlugIns.Add(_dynamicRenderer); 1994_dynamicRenderer.DrawingAttributes = this.DefaultDrawingAttributes; 1997if (!(this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.RootVisual)) && 1998_dynamicRenderer.Enabled && 1999_dynamicRenderer.RootVisual != null) 2001this.InkPresenter.AttachVisuals(_dynamicRenderer.RootVisual, this.DefaultDrawingAttributes); 2170return _dynamicRenderer;