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