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