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