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