10 references to RootVisual
PresentationFramework (10)
System\Windows\Controls\InkCanvas.cs (10)
1969
if (this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.
RootVisual
))
1971
this.InkPresenter.DetachVisuals(_dynamicRenderer.
RootVisual
);
1997
if (!(this.InkPresenter.ContainsAttachedVisual(_dynamicRenderer.
RootVisual
)) &&
1999
_dynamicRenderer.
RootVisual
!= null)
2001
this.InkPresenter.AttachVisuals(_dynamicRenderer.
RootVisual
, this.DefaultDrawingAttributes);
2580
if (!this.InkPresenter.AttachedVisualIsPositionedCorrectly(this.DynamicRenderer.
RootVisual
, newDrawingAttributes))
2582
if (this.InkPresenter.ContainsAttachedVisual(this.DynamicRenderer.
RootVisual
))
2584
this.InkPresenter.DetachVisuals(this.DynamicRenderer.
RootVisual
);
2589
if (this.DynamicRenderer.Enabled && this.DynamicRenderer.
RootVisual
!= null)
2591
this.InkPresenter.AttachVisuals(this.DynamicRenderer.
RootVisual
, newDrawingAttributes);