90 references to AfterEnd
PresentationFramework (90)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1013cursor.MoveToElementEdge(ElementEdge.AfterEnd);
MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
154TextPointer endPosition = new TextPointer(item.TextContainer, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
MS\Internal\Documents\TextContainerHelper.cs (6)
337start.MoveToElementEdge(ElementEdge.AfterEnd); 459position.MoveToElementEdge(ElementEdge.AfterEnd); 515Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd); 519if (edge == ElementEdge.AfterEnd) 652case ElementEdge.AfterEnd: 701Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Cannot retrieve CP from the content of embedded object.");
MS\Internal\PtsHost\BaseParagraph.cs (1)
276return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.AfterEnd);
MS\Internal\PtsHost\ContainerParaClient.cs (1)
308elementOwner, ElementEdge.AfterEnd));
MS\Internal\PtsHost\FigureParaClient.cs (1)
541Paragraph.Element as TextElement, ElementEdge.AfterEnd));
MS\Internal\PtsHost\FloaterParaClient.cs (1)
549Paragraph.Element as TextElement, ElementEdge.AfterEnd));
MS\Internal\PtsHost\SubpageParaClient.cs (1)
522elementOwner, ElementEdge.AfterEnd));
MS\Internal\PtsHost\TableParaClient.cs (3)
567row, ElementEdge.AfterEnd)); 572row.RowGroup, ElementEdge.AfterEnd)); 579elementOwner, ElementEdge.AfterEnd));
System\Windows\Controls\TextAdaptor.cs (2)
275pointer.MoveToElementEdge(alignToTop ? ElementEdge.AfterStart : ElementEdge.AfterEnd); 621position.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
447case ElementEdge.AfterEnd:
System\Windows\Documents\RangeContentEnumerator.cs (1)
134_navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\SplayTreeNode.cs (1)
360if (edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd)
System\Windows\Documents\TextContainer.cs (12)
641edge = (direction == LogicalDirection.Backward) ? ElementEdge.BeforeStart : ElementEdge.AfterEnd; 849Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().SymbolCount > 0) || 1336edge = ElementEdge.AfterEnd; 1350node = ((TextTreeTextNode)node).Split(offset - nodeOffset, ElementEdge.AfterEnd); 1435edge = ElementEdge.AfterEnd; 1448node = ((TextTreeTextNode)node).Split(charOffset - nodeCharOffset, ElementEdge.AfterEnd); 2330previousEdge = ElementEdge.AfterEnd; 2600lastContainedNode = lastContainedNode.IncrementReferenceCount(ElementEdge.AfterEnd, extractedElementNode.AfterEndReferenceCount); 2643case ElementEdge.AfterEnd: 2665case ElementEdge.AfterEnd: 2793endPosition = new TextPointer(this, elementNode, ElementEdge.AfterEnd, LogicalDirection.Backward); 2982previousEdge = ElementEdge.AfterEnd;
System\windows\Documents\TextEditorSelection.cs (1)
2026position.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextElement.cs (1)
435elementEnd = new TextPointer(tree, _textElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
System\Windows\Documents\TextElementEnumerator.cs (1)
138_navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextPointer.cs (26)
2206edge = ElementEdge.AfterEnd; 2238edge = ElementEdge.AfterEnd; 2248case ElementEdge.AfterEnd: 2866case ElementEdge.AfterEnd: 2888case ElementEdge.AfterEnd: 2924case ElementEdge.AfterEnd: 3025if (edge == ElementEdge.AfterEnd && fixup.LastContainedNode != null) 3033Invariant.Assert(edge == ElementEdge.AfterEnd, "edge AfterEnd is expected"); 3068case ElementEdge.AfterEnd: 3157edge = ElementEdge.AfterEnd; 3164edge = ElementEdge.AfterEnd; 3188case ElementEdge.AfterEnd: 3242Invariant.Assert(edge == ElementEdge.AfterEnd); 3328edge = ElementEdge.AfterEnd; 3366case ElementEdge.AfterEnd: 3403if (edge == ElementEdge.AfterEnd) 3457case ElementEdge.AfterEnd: 3521case ElementEdge.AfterEnd: 3761case ElementEdge.AfterEnd: 3999newEdge = ElementEdge.AfterEnd; 4025newEdge = ElementEdge.AfterEnd; 4034case ElementEdge.AfterEnd: 4144Invariant.Assert(this.Edge == ElementEdge.AfterStart || this.Edge == ElementEdge.AfterEnd, "Bad position edge/gravity pair! (2)"); 4150Invariant.Assert(this.Edge != ElementEdge.BeforeStart && this.Edge != ElementEdge.AfterEnd, "Position at outer edge of root!"); 4259edge == ElementEdge.AfterEnd); 4285edge == ElementEdge.AfterEnd);
System\Windows\Documents\TextPointerBase.cs (2)
341navigator.MoveToElementEdge(ElementEdge.AfterEnd); 346navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextRangeBase.cs (4)
491position.MoveToElementEdge(ElementEdge.AfterEnd); 522startNavigator.MoveToElementEdge(ElementEdge.AfterEnd); 526endNavigator.MoveToElementEdge(ElementEdge.AfterEnd); 764navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextRangeEdit.cs (2)
1591edgeAfterElement = ElementEdge.AfterEnd; 1599edgeBeforeElement = ElementEdge.AfterEnd;
System\Windows\Documents\TextRangeSerialization.cs (3)
1679runningEnd.MoveToElementEdge(ElementEdge.AfterEnd); 1855elementEnd.MoveToElementEdge(ElementEdge.AfterEnd); 1888hyperlinkEnd.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextStore.cs (1)
3185navigator.MoveToElementEdge(ElementEdge.AfterEnd);
System\Windows\Documents\TextTreeInsertElementUndoUnit.cs (1)
63end = new TextPointer(this.TextContainer, element.TextElementNode, ElementEdge.AfterEnd);
System\Windows\Documents\TextTreeNode.cs (4)
413case ElementEdge.AfterEnd: 483edge = (bias == LogicalDirection.Forward) ? ElementEdge.AfterEnd : ElementEdge.BeforeStart; 491edge = ElementEdge.AfterEnd; 524case ElementEdge.AfterEnd:
System\Windows\Documents\TextTreeObjectNode.cs (2)
285return (_edgeReferenceCounts & ElementEdge.AfterEnd) != 0; 291_edgeReferenceCounts |= ElementEdge.AfterEnd;
System\Windows\Documents\TextTreeTextElementNode.cs (2)
295return (_edgeReferenceCounts & ElementEdge.AfterEnd) != 0; 301_edgeReferenceCounts |= ElementEdge.AfterEnd;
System\Windows\Documents\TextTreeTextNode.cs (6)
112Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Bad edge ref to TextTreeTextNode!"); 196Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Bad edge parameter!"); 214Invariant.Assert(edge == ElementEdge.AfterEnd, "Unexpected edge!"); 238newNodeEdge = ElementEdge.AfterEnd; 466return _referencedEdge == ElementEdge.AfterEnd ? _positionRefCount > 0 : false; 520(nextNode._positionRefCount == 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
System\Windows\Documents\ValidationHelper.cs (1)
84edge != ElementEdge.AfterEnd)