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