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