89 references to AfterEnd
PresentationFramework (89)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1038cursor.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (1)
163TextPointer endPosition = new TextPointer(item.TextContainer, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (6)
345start.MoveToElementEdge(ElementEdge.AfterEnd); 467position.MoveToElementEdge(ElementEdge.AfterEnd); 523Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd); 527if (edge == ElementEdge.AfterEnd) 660case ElementEdge.AfterEnd: 709Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Cannot retrieve CP from the content of embedded object.");
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (1)
282return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.AfterEnd);
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (1)
361elementOwner, ElementEdge.AfterEnd));
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (1)
606Paragraph.Element as TextElement, ElementEdge.AfterEnd));
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (1)
611Paragraph.Element as TextElement, ElementEdge.AfterEnd));
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (1)
586elementOwner, ElementEdge.AfterEnd));
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (3)
616row, ElementEdge.AfterEnd)); 621row.RowGroup, ElementEdge.AfterEnd)); 628elementOwner, ElementEdge.AfterEnd));
src\Framework\System\Windows\Controls\TextAdaptor.cs (2)
286pointer.MoveToElementEdge(alignToTop ? ElementEdge.AfterStart : ElementEdge.AfterEnd); 608position.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
467case ElementEdge.AfterEnd:
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (1)
146_navigator.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\SplayTreeNode.cs (1)
361if (edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd)
src\Framework\System\Windows\Documents\TextContainer.cs (12)
661edge = (direction == LogicalDirection.Backward) ? ElementEdge.BeforeStart : ElementEdge.AfterEnd; 869Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.GetPreviousNode() is TextTreeTextNode && position.Node.GetPreviousNode().SymbolCount > 0) || 1356edge = ElementEdge.AfterEnd; 1370node = ((TextTreeTextNode)node).Split(offset - nodeOffset, ElementEdge.AfterEnd); 1455edge = ElementEdge.AfterEnd; 1468node = ((TextTreeTextNode)node).Split(charOffset - nodeCharOffset, ElementEdge.AfterEnd); 2350previousEdge = ElementEdge.AfterEnd; 2620lastContainedNode = lastContainedNode.IncrementReferenceCount(ElementEdge.AfterEnd, extractedElementNode.AfterEndReferenceCount); 2663case ElementEdge.AfterEnd: 2685case ElementEdge.AfterEnd: 2813endPosition = new TextPointer(this, elementNode, ElementEdge.AfterEnd, LogicalDirection.Backward); 3003previousEdge = ElementEdge.AfterEnd;
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2050position.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextElement.cs (1)
441elementEnd = new TextPointer(tree, _textElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextElementEnumerator.cs (1)
150_navigator.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextPointer.cs (26)
2231edge = ElementEdge.AfterEnd; 2263edge = ElementEdge.AfterEnd; 2273case ElementEdge.AfterEnd: 2897case ElementEdge.AfterEnd: 2919case ElementEdge.AfterEnd: 2955case ElementEdge.AfterEnd: 3056if (edge == ElementEdge.AfterEnd && fixup.LastContainedNode != null) 3064Invariant.Assert(edge == ElementEdge.AfterEnd, "edge AfterEnd is expected"); 3099case ElementEdge.AfterEnd: 3188edge = ElementEdge.AfterEnd; 3195edge = ElementEdge.AfterEnd; 3219case ElementEdge.AfterEnd: 3273Invariant.Assert(edge == ElementEdge.AfterEnd); 3359edge = ElementEdge.AfterEnd; 3397case ElementEdge.AfterEnd: 3434if (edge == ElementEdge.AfterEnd) 3488case ElementEdge.AfterEnd: 3552case ElementEdge.AfterEnd: 3792case ElementEdge.AfterEnd: 4030newEdge = ElementEdge.AfterEnd; 4056newEdge = ElementEdge.AfterEnd; 4065case ElementEdge.AfterEnd: 4175Invariant.Assert(this.Edge == ElementEdge.AfterStart || this.Edge == ElementEdge.AfterEnd, "Bad position edge/gravity pair! (2)"); 4181Invariant.Assert(this.Edge != ElementEdge.BeforeStart && this.Edge != ElementEdge.AfterEnd, "Position at outer edge of root!"); 4290edge == ElementEdge.AfterEnd); 4316edge == ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextPointerBase.cs (2)
345navigator.MoveToElementEdge(ElementEdge.AfterEnd); 350navigator.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextRangeBase.cs (4)
505position.MoveToElementEdge(ElementEdge.AfterEnd); 536startNavigator.MoveToElementEdge(ElementEdge.AfterEnd); 540endNavigator.MoveToElementEdge(ElementEdge.AfterEnd); 778navigator.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (2)
1595edgeAfterElement = ElementEdge.AfterEnd; 1603edgeBeforeElement = ElementEdge.AfterEnd;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (3)
1705runningEnd.MoveToElementEdge(ElementEdge.AfterEnd); 1881elementEnd.MoveToElementEdge(ElementEdge.AfterEnd); 1914hyperlinkEnd.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextStore.cs (1)
3105navigator.MoveToElementEdge(ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextTreeInsertElementUndoUnit.cs (1)
67end = new TextPointer(this.TextContainer, element.TextElementNode, ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\TextTreeNode.cs (4)
420case ElementEdge.AfterEnd: 490edge = (bias == LogicalDirection.Forward) ? ElementEdge.AfterEnd : ElementEdge.BeforeStart; 498edge = ElementEdge.AfterEnd; 531case ElementEdge.AfterEnd:
src\Framework\System\Windows\Documents\TextTreeObjectNode.cs (2)
292return (_edgeReferenceCounts & ElementEdge.AfterEnd) != 0; 298_edgeReferenceCounts |= ElementEdge.AfterEnd;
src\Framework\System\Windows\Documents\TextTreeTextElementNode.cs (2)
302return (_edgeReferenceCounts & ElementEdge.AfterEnd) != 0; 308_edgeReferenceCounts |= ElementEdge.AfterEnd;
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (5)
119Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Bad edge ref to TextTreeTextNode!"); 203Invariant.Assert(edge == ElementEdge.BeforeStart || edge == ElementEdge.AfterEnd, "Bad edge parameter!"); 245newNodeEdge = ElementEdge.AfterEnd; 473return _referencedEdge == ElementEdge.AfterEnd ? _positionRefCount > 0 : false; 527(nextNode._positionRefCount == 0 || (nextNode._referencedEdge == ElementEdge.AfterEnd)))
src\Framework\System\Windows\Documents\ValidationHelper.cs (1)
94edge != ElementEdge.AfterEnd)