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