5 implementations of End
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
378ITextPointer ITextContainer.End
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
226ITextPointer ITextContainer.End
System\Windows\Documents\FixedTextContainer.cs (1)
195ITextPointer ITextContainer.End
System\Windows\Documents\NullTextContainer.cs (1)
188ITextPointer ITextContainer.End
System\Windows\Documents\TextContainer.cs (1)
1712ITextPointer ITextContainer.End
59 references to End
PresentationFramework (59)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
295if (pointer.CompareTo(pointer.TextContainer.End) == 0)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
490end = textContainer.End;
MS\Internal\Documents\DocumentViewerHelper.cs (5)
126contentEnd = findToolBar.SearchUp ? textSelection.Start : textContainer.End; 175contentEnd = findToolBar.SearchUp ? startPointer : textContainer.End; 182contentEnd = textContainer.End; 202contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End; 210contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End;
MS\Internal\Documents\TextDocumentView.cs (3)
525else if (position.TextContainer.End.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Forward) 527contains = (position.TextContainer.End.CompareTo(segments[segments.Count - 1].End) == 0); 3249ITextPointer segmentEnd = _textContainer.End;
MS\Internal\Documents\TextParagraphView.cs (1)
480segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1082Invariant.Assert(textPointer.CompareTo(textPointer.TextContainer.End) == 0);
System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
38peers = TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.Start, owner.TextContainer.End, null);
System\Windows\Controls\DeferredTextReference.cs (1)
44string s = TextRangeBase.GetTextInternal(_textContainer.Start, _textContainer.End);
System\Windows\Controls\TextAdaptor.cs (3)
294rangeEnd = rangeEnd ?? _textContainer.End; 613while (position.CompareTo(_textContainer.End) < 0) 690return new TextRangeAdaptor(this, _textContainer.Start, _textContainer.End, _textPeer);
System\Windows\Controls\TextBlock.cs (7)
462return (TextPointer)_complexContent.TextContainer.End; 1864TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2010return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 3656while (position.CompareTo((TextPointer)_complexContent.TextContainer.End) < 0) 3922TextBlock.InsertTextRun(this.TextContainer.End, content, /*whitespacesIgnorable:*/false); 4107((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.Start, (TextPointer)text._complexContent.TextContainer.End); 4108InsertTextRun(text._complexContent.TextContainer.End, newText, /*whitespacesIgnorable:*/true);
System\Windows\Controls\TextRangeAdaptor.cs (4)
710if (expandEnd && _end.CompareTo(_start.TextContainer.End) != 0) 712_end = _start.TextContainer.End.CreatePointer(); 956if (position.CompareTo(GetInsertionPosition(position.TextContainer.End, LogicalDirection.Backward)) != 0) 958position.MoveToPosition(position.TextContainer.End);
System\Windows\Documents\ChildDocumentBlock.cs (1)
149return ChildContainer.End;
System\Windows\Documents\DocumentSequenceTextContainer.cs (6)
297return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 520_end = new DocumentSequenceTextPointer(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.ChildContainer.End); 525_end = new DocumentSequenceTextPointer(_doclistTail, _doclistTail.ChildContainer.End); 616_end = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.End); 745tpChildEnd = tsScan.ChildPointer.TextContainer.End; 1026originalPosition.TextContainer.End
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
894pointer = block.ChildContainer.End; 1000count += tpScan.ChildPointer.GetOffsetToPosition(tpScan.ChildPointer.TextContainer.End); 1073: cdb.ChildContainer.End.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\FixedTextContainer.cs (2)
266return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 339else if (fixedTextPointer.CompareTo(((ITextContainer)this).End) == 0)
System\Windows\Documents\FixedTextView.cs (1)
1263return (this.End.CompareTo(this.TextContainer.End) == 0);
System\Windows\Documents\NullTextContainer.cs (1)
186/// <see cref="ITextContainer.End"/>
System\Windows\Documents\Speller.cs (2)
293_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 854debugMessage += $"Xml = {new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml}";
System\windows\Documents\TextEditor.cs (1)
1513cursorPosition = this.TextContainer.End;
System\windows\Documents\TextEditorMouse.cs (1)
568snappedCursorPosition = This.TextContainer.End;
System\windows\Documents\TextEditorSelection.cs (10)
157This.Selection.Select(This.TextContainer.Start, This.TextContainer.End); 629targetPosition = This.TextContainer.End; 915This.Selection.SetCaretToPosition(This.TextContainer.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false); 1139newMovingPosition = originalMovingPosition.TextContainer.End; 1163newMovingPosition = newMovingPosition.TextContainer.End; 1437ExtendSelectionAndBringIntoView(targetPosition.TextContainer.End, This); 1457targetPosition = This.TextContainer.End; 1679destination = destination.TextContainer.End; 1747ExtendSelectionAndBringIntoView(This.TextContainer.End, This); 1935ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.End, This);
System\Windows\Documents\TextRangeBase.cs (1)
1419newEnd = newStart.TextContainer.End; // set end of range to IsAfterLastParagraph position
System\windows\Documents\TextSelection.cs (2)
620if (movingPosition.CompareTo(movingPosition.TextContainer.End) != 0) 622newMovingPosition = movingPosition.TextContainer.End;