56 references to AfterStart
PresentationFramework (56)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (2)
654
case ElementEdge.
AfterStart
:
676
cp = (edge == ElementEdge.BeforeStart || edge == ElementEdge.
AfterStart
) ? 0 : textContainer.SymbolCount;
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (1)
257
return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (3)
102
int cpCurrent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
386
int dcpContent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
1176
int cpContent = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
1746
int cpElement = TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
AfterStart
);
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
286
pointer.MoveToElementEdge(alignToTop ? ElementEdge.
AfterStart
: ElementEdge.AfterEnd);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
459
case ElementEdge.
AfterStart
:
src\Framework\System\Windows\Documents\SplayTreeNode.cs (1)
370
if (edge == ElementEdge.
AfterStart
)
src\Framework\System\Windows\Documents\TextContainer.cs (8)
650
edge = (direction == LogicalDirection.Backward) ? ElementEdge.
AfterStart
: ElementEdge.BeforeEnd;
1345
edge = ElementEdge.
AfterStart
;
1440
edge = ElementEdge.
AfterStart
;
1655
startPosition = new TextPointer(this, _rootNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
2355
previousEdge = ElementEdge.
AfterStart
;
2653
case ElementEdge.
AfterStart
:
2675
case ElementEdge.
AfterStart
:
3007
previousEdge = ElementEdge.
AfterStart
;
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
137
lineStart.MoveToElementEdge(ElementEdge.
AfterStart
);
src\Framework\System\Windows\Documents\TextElement.cs (2)
308
TextPointer contentStart = new TextPointer(tree, _textElementNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
367
contentStart = new TextPointer(tree, _textElementNode, ElementEdge.
AfterStart
, LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextPointer.cs (27)
2238
edge = ElementEdge.
AfterStart
;
2242
case ElementEdge.
AfterStart
:
2269
edge = ElementEdge.
AfterStart
;
2888
case ElementEdge.
AfterStart
:
2910
case ElementEdge.
AfterStart
:
2947
case ElementEdge.
AfterStart
:
3103
case ElementEdge.
AfterStart
:
3175
case ElementEdge.
AfterStart
:
3182
edge = ElementEdge.
AfterStart
;
3229
edge = ElementEdge.
AfterStart
;
3352
case ElementEdge.
AfterStart
:
3407
edge = ElementEdge.
AfterStart
;
3413
edge = ElementEdge.
AfterStart
;
3414
goto case ElementEdge.
AfterStart
;
3436
edge = ElementEdge.
AfterStart
;
3470
case ElementEdge.
AfterStart
:
3534
case ElementEdge.
AfterStart
:
3548
goto case ElementEdge.
AfterStart
;
3781
case ElementEdge.
AfterStart
:
4034
newEdge = ElementEdge.
AfterStart
;
4039
case ElementEdge.
AfterStart
:
4060
newEdge = ElementEdge.
AfterStart
;
4113
if (edge == ElementEdge.
AfterStart
|| edge == ElementEdge.BeforeEnd)
4175
Invariant.Assert(this.Edge == ElementEdge.
AfterStart
|| this.Edge == ElementEdge.AfterEnd, "Bad position edge/gravity pair! (2)");
4186
Invariant.Assert(this.Edge != ElementEdge.
AfterStart
&& this.Edge != ElementEdge.BeforeEnd, "Position at inner leaf node edge!");
4288
edge == ElementEdge.
AfterStart
||
4314
edge == ElementEdge.
AfterStart
||
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1724
commonAncestor.MoveToElementEdge(ElementEdge.
AfterStart
);
src\Framework\System\Windows\Documents\TextTreeNode.cs (3)
412
case ElementEdge.
AfterStart
:
502
edge = ElementEdge.
AfterStart
;
523
case ElementEdge.
AfterStart
:
src\Framework\System\Windows\Documents\TextTreeRootTextBlock.cs (1)
35
block.InsertAtNode(this, ElementEdge.
AfterStart
);
src\Framework\System\Windows\Documents\TextTreeTextElementNode.cs (2)
268
return (_edgeReferenceCounts & ElementEdge.
AfterStart
) != 0;
274
_edgeReferenceCounts |= ElementEdge.
AfterStart
;
src\Framework\System\Windows\Documents\ValidationHelper.cs (1)
92
edge != ElementEdge.
AfterStart
&&