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;
153
this.StylusPlugIns.Add(
_dynamicRenderer
);
1955
if (!object.ReferenceEquals(value,
_dynamicRenderer
))
1959
if (
_dynamicRenderer
!= null)
1962
previousIndex = this.StylusPlugIns.IndexOf(
_dynamicRenderer
);
1969
if (this.InkPresenter.ContainsAttachedVisual(
_dynamicRenderer
.RootVisual))
1971
this.InkPresenter.DetachVisuals(
_dynamicRenderer
.RootVisual);
1977
if (
_dynamicRenderer
!= null) //null is acceptable
1980
if (!this.StylusPlugIns.Contains(
_dynamicRenderer
))
1985
this.StylusPlugIns.Insert(previousIndex,
_dynamicRenderer
);
1989
this.StylusPlugIns.Add(
_dynamicRenderer
);
1994
_dynamicRenderer
.DrawingAttributes = this.DefaultDrawingAttributes;
1997
if (!(this.InkPresenter.ContainsAttachedVisual(
_dynamicRenderer
.RootVisual)) &&
1998
_dynamicRenderer
.Enabled &&
1999
_dynamicRenderer
.RootVisual != null)
2001
this.InkPresenter.AttachVisuals(
_dynamicRenderer
.RootVisual, this.DefaultDrawingAttributes);
2170
return
_dynamicRenderer
;