56 references to AfterStart
PresentationFramework (56)
MS\Internal\Documents\TextContainerHelper.cs (2)
646
case ElementEdge.
AfterStart
:
668
cp = (edge == ElementEdge.BeforeStart || edge == ElementEdge.
AfterStart
) ? 0 : textContainer.SymbolCount;
MS\Internal\PtsHost\BaseParagraph.cs (1)
251
return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
MS\Internal\PtsHost\ContainerParagraph.cs (3)
93
int cpCurrent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
376
int dcpContent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
1145
int cpContent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
MS\Internal\PtsHost\TextParagraph.cs (1)
1731
int cpElement = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
System\Windows\Controls\TextAdaptor.cs (1)
275
pointer.MoveToElementEdge(alignToTop ? ElementEdge.
AfterStart
: ElementEdge.AfterEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
439
case ElementEdge.
AfterStart
:
System\Windows\Documents\SplayTreeNode.cs (1)
369
if (edge == ElementEdge.
AfterStart
)
System\Windows\Documents\TextContainer.cs (8)
630
edge = (direction == LogicalDirection.Backward) ? ElementEdge.
AfterStart
: ElementEdge.BeforeEnd;
1325
edge = ElementEdge.
AfterStart
;
1420
edge = ElementEdge.
AfterStart
;
1635
startPosition = new TextPointer(this, _rootNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
2335
previousEdge = ElementEdge.
AfterStart
;
2633
case ElementEdge.
AfterStart
:
2655
case ElementEdge.
AfterStart
:
2986
previousEdge = ElementEdge.
AfterStart
;
System\windows\Documents\TextEditorSelection.cs (1)
114
lineStart.MoveToElementEdge(ElementEdge.
AfterStart
);
System\Windows\Documents\TextElement.cs (2)
302
TextPointer contentStart = new TextPointer(tree, _textElementNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
361
contentStart = new TextPointer(tree, _textElementNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
System\Windows\Documents\TextPointer.cs (27)
2213
edge = ElementEdge.
AfterStart
;
2217
case ElementEdge.
AfterStart
:
2244
edge = ElementEdge.
AfterStart
;
2857
case ElementEdge.
AfterStart
:
2879
case ElementEdge.
AfterStart
:
2916
case ElementEdge.
AfterStart
:
3072
case ElementEdge.
AfterStart
:
3144
case ElementEdge.
AfterStart
:
3151
edge = ElementEdge.
AfterStart
;
3198
edge = ElementEdge.
AfterStart
;
3321
case ElementEdge.
AfterStart
:
3376
edge = ElementEdge.
AfterStart
;
3382
edge = ElementEdge.
AfterStart
;
3383
goto case ElementEdge.
AfterStart
;
3405
edge = ElementEdge.
AfterStart
;
3439
case ElementEdge.
AfterStart
:
3503
case ElementEdge.
AfterStart
:
3517
goto case ElementEdge.
AfterStart
;
3750
case ElementEdge.
AfterStart
:
4003
newEdge = ElementEdge.
AfterStart
;
4008
case ElementEdge.
AfterStart
:
4029
newEdge = ElementEdge.
AfterStart
;
4082
if (edge == ElementEdge.
AfterStart
|| edge == ElementEdge.BeforeEnd)
4144
Invariant.Assert(this.Edge == ElementEdge.
AfterStart
|| this.Edge == ElementEdge.AfterEnd, "Bad position edge/gravity pair! (2)");
4155
Invariant.Assert(this.Edge != ElementEdge.
AfterStart
&& this.Edge != ElementEdge.BeforeEnd, "Position at inner leaf node edge!");
4257
edge == ElementEdge.
AfterStart
||
4283
edge == ElementEdge.
AfterStart
||
System\Windows\Documents\TextRangeSerialization.cs (1)
1698
commonAncestor.MoveToElementEdge(ElementEdge.
AfterStart
);
System\Windows\Documents\TextTreeNode.cs (3)
405
case ElementEdge.
AfterStart
:
495
edge = ElementEdge.
AfterStart
;
516
case ElementEdge.
AfterStart
:
System\Windows\Documents\TextTreeRootTextBlock.cs (1)
33
block.InsertAtNode(this, ElementEdge.
AfterStart
);
System\Windows\Documents\TextTreeTextElementNode.cs (2)
261
return (_edgeReferenceCounts & ElementEdge.
AfterStart
) != 0;
267
_edgeReferenceCounts |= ElementEdge.
AfterStart
;
System\Windows\Documents\ValidationHelper.cs (1)
82
edge != ElementEdge.
AfterStart
&&