90 references to AfterEnd
PresentationFramework (90)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1020cursor.MoveToElementEdge(ElementEdge.AfterEnd);
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
158TextPointer endPosition = new TextPointer(item.TextContainer, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
MS\Internal\Documents\TextContainerHelper.cs (6)
340start.MoveToElementEdge(ElementEdge.AfterEnd); 462position.MoveToElementEdge(ElementEdge.AfterEnd); 518Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd); 522if (edge == ElementEdge.AfterEnd) 655case ElementEdge.AfterEnd: 704Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Cannot retrieve CP from the content of embedded object.");
MS\Internal\PtsHost\BaseParagraph.cs (1)
278return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.AfterEnd);
MS\Internal\PtsHost\ContainerParaClient.cs (1)
313elementOwner, ElementEdge.AfterEnd));
MS\Internal\PtsHost\FigureParaClient.cs (1)
547Paragraph.Element as TextElement, ElementEdge.AfterEnd));
MS\Internal\PtsHost\FloaterParaClient.cs (1)
554Paragraph.Element as TextElement, ElementEdge.AfterEnd));
MS\Internal\PtsHost\SubpageParaClient.cs (1)
527elementOwner, ElementEdge.AfterEnd));
MS\Internal\PtsHost\TableParaClient.cs (3)
573row, ElementEdge.AfterEnd)); 578row.RowGroup, ElementEdge.AfterEnd)); 585elementOwner, ElementEdge.AfterEnd));
System\Windows\Controls\TextAdaptor.cs (2)
278pointer.MoveToElementEdge(alignToTop ? ElementEdge.AfterStart : ElementEdge.AfterEnd); 624position.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
452case ElementEdge.AfterEnd:
System\Windows\Documents\RangeContentEnumerator.cs (1)
138_navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\SplayTreeNode.cs (1)
361if (edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd)
System\Windows\Documents\TextContainer.cs (12)
646edge = (direction == LogicalDirection.Backward) ? ElementEdge.BeforeStart : ElementEdge.AfterEnd; 854Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().SymbolCount > 0) || 1341edge = ElementEdge.AfterEnd; 1355node = ((TextTreeTextNode)node).Split(offset - nodeOffset, ElementEdge.AfterEnd); 1440edge = ElementEdge.AfterEnd; 1453node = ((TextTreeTextNode)node).Split(charOffset - nodeCharOffset, ElementEdge.AfterEnd); 2335previousEdge = ElementEdge.AfterEnd; 2605lastContainedNode = lastContainedNode.IncrementReferenceCount(ElementEdge.AfterEnd, extractedElementNode.AfterEndReferenceCount); 2648case ElementEdge.AfterEnd: 2670case ElementEdge.AfterEnd: 2798endPosition = new TextPointer(this, elementNode, ElementEdge.AfterEnd, LogicalDirection.Backward); 2987previousEdge = ElementEdge.AfterEnd;
System\windows\Documents\TextEditorSelection.cs (1)
2041position.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextElement.cs (1)
436elementEnd = new TextPointer(tree, _textElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
System\Windows\Documents\TextElementEnumerator.cs (1)
144_navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextPointer.cs (26)
2211edge = ElementEdge.AfterEnd; 2243edge = ElementEdge.AfterEnd; 2253case ElementEdge.AfterEnd: 2871case ElementEdge.AfterEnd: 2893case ElementEdge.AfterEnd: 2929case ElementEdge.AfterEnd: 3030if (edge == ElementEdge.AfterEnd && fixup.LastContainedNode != null) 3038Invariant.Assert(edge == ElementEdge.AfterEnd, "edge AfterEnd is expected"); 3073case ElementEdge.AfterEnd: 3162edge = ElementEdge.AfterEnd; 3169edge = ElementEdge.AfterEnd; 3193case ElementEdge.AfterEnd: 3247Invariant.Assert(edge == ElementEdge.AfterEnd); 3333edge = ElementEdge.AfterEnd; 3371case ElementEdge.AfterEnd: 3408if (edge == ElementEdge.AfterEnd) 3462case ElementEdge.AfterEnd: 3526case ElementEdge.AfterEnd: 3766case ElementEdge.AfterEnd: 4004newEdge = ElementEdge.AfterEnd; 4030newEdge = ElementEdge.AfterEnd; 4039case ElementEdge.AfterEnd: 4149Invariant.Assert(this.Edge == ElementEdge.AfterStart || this.Edge == ElementEdge.AfterEnd, "Bad position edge/gravity pair! (2)"); 4155Invariant.Assert(this.Edge != ElementEdge.BeforeStart && this.Edge != ElementEdge.AfterEnd, "Position at outer edge of root!"); 4264edge == ElementEdge.AfterEnd); 4290edge == ElementEdge.AfterEnd);
System\Windows\Documents\TextPointerBase.cs (2)
343navigator.MoveToElementEdge(ElementEdge.AfterEnd); 348navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextRangeBase.cs (4)
494position.MoveToElementEdge(ElementEdge.AfterEnd); 525startNavigator.MoveToElementEdge(ElementEdge.AfterEnd); 529endNavigator.MoveToElementEdge(ElementEdge.AfterEnd); 767navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextRangeEdit.cs (2)
1593edgeAfterElement = ElementEdge.AfterEnd; 1601edgeBeforeElement = ElementEdge.AfterEnd;
System\Windows\Documents\TextRangeSerialization.cs (3)
1685runningEnd.MoveToElementEdge(ElementEdge.AfterEnd); 1861elementEnd.MoveToElementEdge(ElementEdge.AfterEnd); 1894hyperlinkEnd.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextStore.cs (1)
3196navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextTreeInsertElementUndoUnit.cs (1)
64end = new TextPointer(this.TextContainer, element.TextElementNode, ElementEdge.AfterEnd);
System\Windows\Documents\TextTreeNode.cs (4)
414case ElementEdge.AfterEnd: 484edge = (bias == LogicalDirection.Forward) ? ElementEdge.AfterEnd : ElementEdge.BeforeStart; 492edge = ElementEdge.AfterEnd; 525case ElementEdge.AfterEnd:
System\Windows\Documents\TextTreeObjectNode.cs (2)
286return (_edgeReferenceCounts & ElementEdge.AfterEnd) != 0; 292_edgeReferenceCounts |= ElementEdge.AfterEnd;
System\Windows\Documents\TextTreeTextElementNode.cs (2)
296return (_edgeReferenceCounts & ElementEdge.AfterEnd) != 0; 302_edgeReferenceCounts |= ElementEdge.AfterEnd;
System\Windows\Documents\TextTreeTextNode.cs (6)
113Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Bad edge ref to TextTreeTextNode!"); 197Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Bad edge parameter!"); 215Invariant.Assert(edge == ElementEdge.AfterEnd, "Unexpected edge!"); 239newNodeEdge = ElementEdge.AfterEnd; 467return _referencedEdge == ElementEdge.AfterEnd ? _positionRefCount > 0 : false; 521(nextNode._positionRefCount == 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
System\Windows\Documents\ValidationHelper.cs (1)
86edge != ElementEdge.AfterEnd)