56 references to AfterStart
PresentationFramework (56)
MS\Internal\Documents\TextContainerHelper.cs (2)
649
case ElementEdge.
AfterStart
:
671
cp = (edge == ElementEdge.BeforeStart || edge == ElementEdge.
AfterStart
) ? 0 : textContainer.SymbolCount;
MS\Internal\PtsHost\BaseParagraph.cs (1)
253
return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
98
int cpCurrent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
381
int dcpContent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
1150
int cpContent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
MS\Internal\PtsHost\TextParagraph.cs (1)
1738
int cpElement = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
System\Windows\Controls\TextAdaptor.cs (1)
278
pointer.MoveToElementEdge(alignToTop ? ElementEdge.
AfterStart
: ElementEdge.AfterEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
444
case ElementEdge.
AfterStart
:
System\Windows\Documents\SplayTreeNode.cs (1)
370
if (edge == ElementEdge.
AfterStart
)
System\Windows\Documents\TextContainer.cs (8)
635
edge = (direction == LogicalDirection.Backward) ? ElementEdge.
AfterStart
: ElementEdge.BeforeEnd;
1330
edge = ElementEdge.
AfterStart
;
1425
edge = ElementEdge.
AfterStart
;
1640
startPosition = new TextPointer(this, _rootNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
2340
previousEdge = ElementEdge.
AfterStart
;
2638
case ElementEdge.
AfterStart
:
2660
case ElementEdge.
AfterStart
:
2991
previousEdge = ElementEdge.
AfterStart
;
System\windows\Documents\TextEditorSelection.cs (1)
129
lineStart.MoveToElementEdge(ElementEdge.
AfterStart
);
System\Windows\Documents\TextElement.cs (2)
303
TextPointer contentStart = new TextPointer(tree, _textElementNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
362
contentStart = new TextPointer(tree, _textElementNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
System\Windows\Documents\TextPointer.cs (27)
2218
edge = ElementEdge.
AfterStart
;
2222
case ElementEdge.
AfterStart
:
2249
edge = ElementEdge.
AfterStart
;
2862
case ElementEdge.
AfterStart
:
2884
case ElementEdge.
AfterStart
:
2921
case ElementEdge.
AfterStart
:
3077
case ElementEdge.
AfterStart
:
3149
case ElementEdge.
AfterStart
:
3156
edge = ElementEdge.
AfterStart
;
3203
edge = ElementEdge.
AfterStart
;
3326
case ElementEdge.
AfterStart
:
3381
edge = ElementEdge.
AfterStart
;
3387
edge = ElementEdge.
AfterStart
;
3388
goto case ElementEdge.
AfterStart
;
3410
edge = ElementEdge.
AfterStart
;
3444
case ElementEdge.
AfterStart
:
3508
case ElementEdge.
AfterStart
:
3522
goto case ElementEdge.
AfterStart
;
3755
case ElementEdge.
AfterStart
:
4008
newEdge = ElementEdge.
AfterStart
;
4013
case ElementEdge.
AfterStart
:
4034
newEdge = ElementEdge.
AfterStart
;
4087
if (edge == ElementEdge.
AfterStart
|| edge == ElementEdge.BeforeEnd)
4149
Invariant.Assert(this.Edge == ElementEdge.
AfterStart
|| this.Edge == ElementEdge.AfterEnd, "Bad position edge/gravity pair! (2)");
4160
Invariant.Assert(this.Edge != ElementEdge.
AfterStart
&& this.Edge != ElementEdge.BeforeEnd, "Position at inner leaf node edge!");
4262
edge == ElementEdge.
AfterStart
||
4288
edge == ElementEdge.
AfterStart
||
System\Windows\Documents\TextRangeSerialization.cs (1)
1704
commonAncestor.MoveToElementEdge(ElementEdge.
AfterStart
);
System\Windows\Documents\TextTreeNode.cs (3)
406
case ElementEdge.
AfterStart
:
496
edge = ElementEdge.
AfterStart
;
517
case ElementEdge.
AfterStart
:
System\Windows\Documents\TextTreeRootTextBlock.cs (1)
35
block.InsertAtNode(this, ElementEdge.
AfterStart
);
System\Windows\Documents\TextTreeTextElementNode.cs (2)
262
return (_edgeReferenceCounts & ElementEdge.
AfterStart
) != 0;
268
_edgeReferenceCounts |= ElementEdge.
AfterStart
;
System\Windows\Documents\ValidationHelper.cs (1)
84
edge != ElementEdge.
AfterStart
&&