16 references to TextView
PresentationFramework (16)
System\windows\Documents\TextSelection.cs (16)
241
if (this.
TextView
!= null && this.
TextView
.IsValid &&
242
!this.
TextView
.Contains(movingPosition))
318
if (uiScope.IsEnabled && this.
TextView
!= null)
457
((TextPointerBase.IsAtLineWrappingPosition(caretPosition, this.
TextView
) &&
458
TextPointerBase.IsAtLineWrappingPosition(reversePosition, this.
TextView
)) ||
657
if (this.
TextView
== null || !this.
TextView
.IsValid)
664
ITextPointer position = this.
TextView
.GetTextPositionFromPoint(point, /*snapToText:*/false);
1927
if (this.
TextView
== null)
1931
Invariant.Assert(this.
TextView
.IsValid); // We just checked RenderScope. We'll use TextView below
1937
Rect objectEdgeRect = this.
TextView
.GetRectangleFromTextPosition(cursorPosition);
1972
FlowDirection renderScopeFlowDirection = (FlowDirection)this.
TextView
.RenderScope.GetValue(Block.FlowDirectionProperty);
2142
if (this.
TextView
.IsValid && !this.
TextView
.RendersOwnSelection)
2444
DependencyObject element =
TextView
.RenderScope;