16 references to TextView
PresentationFramework (16)
System\windows\Documents\TextSelection.cs (16)
257
if (this.
TextView
!= null && this.
TextView
.IsValid &&
258
!this.
TextView
.Contains(movingPosition))
334
if (uiScope.IsEnabled && this.
TextView
!= null)
473
((TextPointerBase.IsAtLineWrappingPosition(caretPosition, this.
TextView
) &&
474
TextPointerBase.IsAtLineWrappingPosition(reversePosition, this.
TextView
)) ||
673
if (this.
TextView
== null || !this.
TextView
.IsValid)
680
ITextPointer position = this.
TextView
.GetTextPositionFromPoint(point, /*snapToText:*/false);
1946
if (this.
TextView
== null)
1950
Invariant.Assert(this.
TextView
.IsValid); // We just checked RenderScope. We'll use TextView below
1956
Rect objectEdgeRect = this.
TextView
.GetRectangleFromTextPosition(cursorPosition);
1991
FlowDirection renderScopeFlowDirection = (FlowDirection)this.
TextView
.RenderScope.GetValue(Block.FlowDirectionProperty);
2161
if (this.
TextView
.IsValid && !this.
TextView
.RendersOwnSelection)
2461
DependencyObject element =
TextView
.RenderScope;