1 implementation of AnchorPosition
PresentationFramework (1)
System\windows\Documents\TextSelection.cs (1)
394
ITextPointer ITextSelection.
AnchorPosition
20 references to AnchorPosition
PresentationFramework (20)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
226
textSelection.SetCaretToPosition(newTextSelection.
AnchorPosition
, newTextSelection.MovingPosition.LogicalDirection, true, true);
559
newTextSelection.
AnchorPosition
!= null &&
560
newTextSelection.
AnchorPosition
.TextContainer == flowDocument.StructuralCache.TextContainer)
565
textSelection.SetCaretToPosition(newTextSelection.
AnchorPosition
, newTextSelection.MovingPosition.LogicalDirection, true, true);
System\windows\Documents\TextEditor.cs (1)
1218
string textAdjacent = textContainer.TextSelection.
AnchorPosition
.GetTextInRun(LogicalDirection.Backward);
System\windows\Documents\TextEditorSelection.cs (4)
1675
if (This.Selection.
AnchorPosition
.ValidateLayout())
1677
TextSegment anchorLineRange = TextEditorSelection.GetNormalizedLineRange(This.TextView, This.Selection.
AnchorPosition
);
1678
if (!lineRange.IsNull && anchorLineRange.Start.CompareTo(This.Selection.
AnchorPosition
) == 0)
1685
TextPointerBase.IsNextToParagraphBreak(This.Selection.
AnchorPosition
, LogicalDirection.Backward))
System\Windows\Documents\TextParentUndoUnit.cs (2)
46
: this(selection, selection.
AnchorPosition
, selection.MovingPosition)
183
RecordRedoSelectionState(_selection.
AnchorPosition
, _selection.MovingPosition);
System\windows\Documents\TextSelection.cs (5)
569
ITextPointer anchorPosition = thisSelection.
AnchorPosition
;
591
ITextPointer anchorPosition = ((ITextSelection)this).
AnchorPosition
;
831
ITextPointer anchorPosition = ((ITextSelection)this).
AnchorPosition
;
860
Invariant.Assert(thisSelection.Contains(thisSelection.
AnchorPosition
));
1164
return (TextPointer)((ITextSelection)this).
AnchorPosition
;
System\Windows\Documents\TextStore.cs (4)
685
ITextRange range = new TextRange(this.TextSelection.
AnchorPosition
, this.TextSelection.MovingPosition);
3548
int imeSelectionAnchorOffset = this.TextSelection.
AnchorPosition
.Offset;
3788
appSelectionAnchorOffset = this.TextSelection.
AnchorPosition
.Offset;
3815
appSelectionAnchorOffset = this.TextSelection.
AnchorPosition
.Offset;