2 writes to _dynamicRenderer
PresentationFramework (2)
src\Framework\System\Windows\Controls\InkCanvas.cs (2)
174
_dynamicRenderer
= new DynamicRenderer();
2072
_dynamicRenderer
= value;
17 references to _dynamicRenderer
PresentationFramework (17)
src\Framework\System\Windows\Controls\InkCanvas.cs (17)
175
_dynamicRenderer
.Enabled = false;
176
this.StylusPlugIns.Add(
_dynamicRenderer
);
2052
if (!object.ReferenceEquals(value,
_dynamicRenderer
))
2056
if (
_dynamicRenderer
!= null)
2059
previousIndex = this.StylusPlugIns.IndexOf(
_dynamicRenderer
);
2066
if (this.InkPresenter.ContainsAttachedVisual(
_dynamicRenderer
.RootVisual))
2068
this.InkPresenter.DetachVisuals(
_dynamicRenderer
.RootVisual);
2074
if (
_dynamicRenderer
!= null) //null is acceptable
2077
if (!this.StylusPlugIns.Contains(
_dynamicRenderer
))
2082
this.StylusPlugIns.Insert(previousIndex,
_dynamicRenderer
);
2086
this.StylusPlugIns.Add(
_dynamicRenderer
);
2091
_dynamicRenderer
.DrawingAttributes = this.DefaultDrawingAttributes;
2094
if (!(this.InkPresenter.ContainsAttachedVisual(
_dynamicRenderer
.RootVisual)) &&
2095
_dynamicRenderer
.Enabled &&
2096
_dynamicRenderer
.RootVisual != null)
2098
this.InkPresenter.AttachVisuals(
_dynamicRenderer
.RootVisual, this.DefaultDrawingAttributes);
2307
return
_dynamicRenderer
;