5 implementations of End
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (1)
387ITextPointer ITextContainer.End
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
246ITextPointer ITextContainer.End
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
215ITextPointer ITextContainer.End
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
195ITextPointer ITextContainer.End
src\Framework\System\Windows\Documents\TextContainer.cs (1)
1732ITextPointer ITextContainer.End
58 references to End
PresentationFramework (58)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
314if (pointer.CompareTo(pointer.TextContainer.End) == 0)
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
514end = textContainer.End;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (5)
143contentEnd = findToolBar.SearchUp ? textSelection.Start : textContainer.End; 192contentEnd = findToolBar.SearchUp ? startPointer : textContainer.End; 199contentEnd = textContainer.End; 219contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End; 227contentEnd = findToolBar.SearchUp ? textContainer.Start : textContainer.End;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (3)
535else if (position.TextContainer.End.CompareTo(position) == 0 && position.LogicalDirection == LogicalDirection.Forward) 537contains = (position.TextContainer.End.CompareTo(segments[segments.Count - 1].End) == 0); 3295ITextPointer segmentEnd = _textContainer.End;
src\Framework\MS\Internal\Documents\TextParagraphView.cs (1)
511segments.Add(new TextSegment(_textContainer.Start, _textContainer.End, true));
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1128Invariant.Assert(textPointer.CompareTo(textPointer.TextContainer.End) == 0);
src\Framework\System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
41peers = TextContainerHelper.GetAutomationPeersFromRange(owner.TextContainer.Start, owner.TextContainer.End, null);
src\Framework\System\Windows\Controls\DeferredTextReference.cs (1)
46string s = TextRangeBase.GetTextInternal(_textContainer.Start, _textContainer.End);
src\Framework\System\Windows\Controls\TextAdaptor.cs (2)
600while (position.CompareTo(_textContainer.End) < 0) 677return new TextRangeAdaptor(this, _textContainer.Start, _textContainer.End, _textPeer);
src\Framework\System\Windows\Controls\TextBlock.cs (7)
492return (TextPointer)_complexContent.TextContainer.End; 1964TextSegment textSegment = new TextSegment(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 2111return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End); 3655while (position.CompareTo((TextPointer)_complexContent.TextContainer.End) < 0) 3921TextBlock.InsertTextRun(this.TextContainer.End, content, /*whitespacesIgnorable:*/false); 4106((TextContainer)text._complexContent.TextContainer).DeleteContentInternal((TextPointer)text._complexContent.TextContainer.Start, (TextPointer)text._complexContent.TextContainer.End); 4107InsertTextRun(text._complexContent.TextContainer.End, newText, /*whitespacesIgnorable:*/true);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (4)
720if (expandEnd && _end.CompareTo(_start.TextContainer.End) != 0) 722_end = _start.TextContainer.End.CreatePointer(); 967if (position.CompareTo(GetInsertionPosition(position.TextContainer.End, LogicalDirection.Backward)) != 0) 969position.MoveToPosition(position.TextContainer.End);
src\Framework\System\Windows\Documents\ChildDocumentBlock.cs (1)
155return ChildContainer.End;
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (6)
317return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 544_end = new DocumentSequenceTextPointer(_doclistTail.PreviousBlock, _doclistTail.PreviousBlock.ChildContainer.End); 549_end = new DocumentSequenceTextPointer(_doclistTail, _doclistTail.ChildContainer.End); 640_end = new DocumentSequenceTextPointer(newBlock, newBlock.ChildContainer.End); 770tpChildEnd = tsScan.ChildPointer.TextContainer.End; 1051originalPosition.TextContainer.End
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (3)
920pointer = block.ChildContainer.End; 1026count += tpScan.ChildPointer.GetOffsetToPosition(tpScan.ChildPointer.TextContainer.End); 1099: cdb.ChildContainer.End.CreatePointer(childTn.LogicalDirection)
src\Framework\System\Windows\Documents\FixedTextContainer.cs (2)
286return ((ITextContainer)this).Start.GetOffsetToPosition(((ITextContainer)this).End); 363else if (fixedTextPointer.CompareTo(((ITextContainer)this).End) == 0)
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1288return (this.End.CompareTo(this.TextContainer.End) == 0);
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
193/// <see cref="ITextContainer.End"/>
src\Framework\System\Windows\Documents\Speller.cs (2)
321_statusTable.MarkDirtyRange(_textEditor.TextContainer.Start, _textEditor.TextContainer.End); 926debugMessage += "Xml = " + new TextRange((TextPointer)start.TextContainer.Start, (TextPointer)start.TextContainer.End).Xml;
src\Framework\System\windows\Documents\TextEditor.cs (1)
1550cursorPosition = this.TextContainer.End;
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
584snappedCursorPosition = This.TextContainer.End;
src\Framework\System\windows\Documents\TextEditorSelection.cs (10)
180This.Selection.Select(This.TextContainer.Start, This.TextContainer.End); 653targetPosition = This.TextContainer.End; 939This.Selection.SetCaretToPosition(This.TextContainer.End, LogicalDirection.Backward, /*allowStopAtLineEnd:*/false, /*allowStopNearSpace:*/false); 1163newMovingPosition = originalMovingPosition.TextContainer.End; 1187newMovingPosition = newMovingPosition.TextContainer.End; 1461ExtendSelectionAndBringIntoView(targetPosition.TextContainer.End, This); 1481targetPosition = This.TextContainer.End; 1703destination = destination.TextContainer.End; 1771ExtendSelectionAndBringIntoView(This.TextContainer.End, This); 1959ExtendSelectionAndBringIntoView(e.NewPosition.TextContainer.End, This);
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
1436newEnd = newStart.TextContainer.End; // set end of range to IsAfterLastParagraph position
src\Framework\System\windows\Documents\TextSelection.cs (2)
626if (movingPosition.CompareTo(movingPosition.TextContainer.End) != 0) 628newMovingPosition = movingPosition.TextContainer.End;