5 implementations of End
PresentationFramework (5)
System\Windows\Controls\PasswordTextContainer.cs (1)
381ITextPointer ITextContainer.End
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
242ITextPointer ITextContainer.End
System\Windows\Documents\FixedTextContainer.cs (1)
211ITextPointer ITextContainer.End
System\Windows\Documents\NullTextContainer.cs (1)
192ITextPointer ITextContainer.End
System\Windows\Documents\TextContainer.cs (1)
1717ITextPointer ITextContainer.End
59 references to End
PresentationFramework (59)
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
304if (pointer.CompareTo(pointer.TextContainer.End) == 0)
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
500end = textContainer.End;
MS\Internal\Documents\DocumentViewerHelper.cs (5)
128contentEnd = findToolBar.SearchUp ? textSelection.Start : textContainer.End; 177contentEnd = findToolBar.SearchUp ? startPointer : textContainer.End; 184contentEnd = textContainer.End; 204contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End; 212contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End;
MS\Internal\Documents\TextDocumentView.cs (3)
528else if (position.TextContainer.End.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Forward) 530contains = (position.TextContainer.End.CompareTo(segments[segments.Count - 1].End) == 0); 3286ITextPointer segmentEnd = _textContainer.End;
MS\Internal\Documents\TextParagraphView.cs (1)
486segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1102Invariant.Assert(textPointer.CompareTo(textPointer.TextContainer.End) == 0);
System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
40peers = 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)
297rangeEnd = rangeEnd ?? _textContainer.End; 616while (position.CompareTo(_textContainer.End) < 0) 693return new TextRangeAdaptor(this, _textContainer.Start, _textContainer.End, _textPeer);
System\Windows\Controls\TextBlock.cs (7)
474return (TextPointer)_complexContent.TextContainer.End; 1876TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2022return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 3666while (position.CompareTo((TextPointer)_complexContent.TextContainer.End) < 0) 3932TextBlock.InsertTextRun(this.TextContainer.End, content, /*whitespacesIgnorable:*/false); 4117((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.Start, (TextPointer)text._complexContent.TextContainer.End); 4118InsertTextRun(text._complexContent.TextContainer.End, newText, /*whitespacesIgnorable:*/true);
System\Windows\Controls\TextRangeAdaptor.cs (4)
712if (expandEnd && _end.CompareTo(_start.TextContainer.End) != 0) 714_end = _start.TextContainer.End.CreatePointer(); 958if (position.CompareTo(GetInsertionPosition(position.TextContainer.End, LogicalDirection.Backward)) != 0) 960position.MoveToPosition(position.TextContainer.End);
System\Windows\Documents\ChildDocumentBlock.cs (1)
152return ChildContainer.End;
System\Windows\Documents\DocumentSequenceTextContainer.cs (6)
313return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 537_end = new DocumentSequenceTextPointer(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.ChildContainer.End); 542_end = new DocumentSequenceTextPointer(_doclistTail, _doclistTail.ChildContainer.End); 633_end = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.End); 762tpChildEnd = tsScan.ChildPointer.TextContainer.End; 1043originalPosition.TextContainer.End
System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
903pointer = block.ChildContainer.End; 1009count += tpScan.ChildPointer.GetOffsetToPosition(tpScan.ChildPointer.TextContainer.End); 1082: cdb.ChildContainer.End.CreatePointer(childTn.LogicalDirection)
System\Windows\Documents\FixedTextContainer.cs (2)
282return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 356else if (fixedTextPointer.CompareTo(((ITextContainer)this).End) == 0)
System\Windows\Documents\FixedTextView.cs (1)
1276return (this.End.CompareTo(this.TextContainer.End) == 0);
System\Windows\Documents\NullTextContainer.cs (1)
190/// <see cref="ITextContainer.End"/>
System\Windows\Documents\Speller.cs (2)
297_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 858debugMessage += $"Xml = {new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml}";
System\windows\Documents\TextEditor.cs (1)
1522cursorPosition = this.TextContainer.End;
System\windows\Documents\TextEditorMouse.cs (1)
582snappedCursorPosition = This.TextContainer.End;
System\windows\Documents\TextEditorSelection.cs (10)
172This.Selection.Select(This.TextContainer.Start, This.TextContainer.End); 644targetPosition = This.TextContainer.End; 930This.Selection.SetCaretToPosition(This.TextContainer.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false); 1154newMovingPosition = originalMovingPosition.TextContainer.End; 1178newMovingPosition = newMovingPosition.TextContainer.End; 1452ExtendSelectionAndBringIntoView(targetPosition.TextContainer.End, This); 1472targetPosition = This.TextContainer.End; 1694destination = destination.TextContainer.End; 1762ExtendSelectionAndBringIntoView(This.TextContainer.End, This); 1950ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.End, This);
System\Windows\Documents\TextRangeBase.cs (1)
1422newEnd = newStart.TextContainer.End; // set end of range to IsAfterLastParagraph position
System\windows\Documents\TextSelection.cs (2)
623if (movingPosition.CompareTo(movingPosition.TextContainer.End) != 0) 625newMovingPosition = movingPosition.TextContainer.End;