55 references to BeforeEnd
PresentationFramework (55)
MS\Internal\Documents\TextContainerHelper.cs (1)
649case ElementEdge.BeforeEnd:
MS\Internal\PtsHost\BaseParagraph.cs (1)
272return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.BeforeEnd);
System\Windows\Documents\FixedElement.cs (1)
279pos.MoveToElementEdge(ElementEdge.BeforeEnd);
System\Windows\Documents\FixedTextPointer.cs (1)
443case ElementEdge.BeforeEnd:
System\Windows\Documents\TextContainer.cs (9)
630edge = (direction == LogicalDirection.Backward) ? ElementEdge.AfterStart : ElementEdge.BeforeEnd; 868if (position.Edge == ElementEdge.BeforeStart || position.Edge == ElementEdge.BeforeEnd) 1121endEdgePosition = new TextPointer(this, elementNode, ElementEdge.BeforeEnd); 1330edge = ElementEdge.BeforeEnd; 1666endPosition = new TextPointer(this, _rootNode, ElementEdge.BeforeEnd, LogicalDirection.Forward); 2345nextEdge = ElementEdge.BeforeEnd; 2637case ElementEdge.BeforeEnd: 2661case ElementEdge.BeforeEnd: 2993nextEdge = ElementEdge.BeforeEnd;
System\windows\Documents\TextEditorSelection.cs (1)
116lineEnd.MoveToElementEdge(ElementEdge.BeforeEnd);
System\Windows\Documents\TextElement.cs (4)
305TextPointer contentEnd = new TextPointer(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward); 394contentEnd = new TextPointer(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward); 1515tree.InsertTextInternal(new TextPointer(tree, _textElementNode, ElementEdge.BeforeEnd), textData); 1549position = new TextPointer(tree, _textElementNode, ElementEdge.BeforeEnd);
System\Windows\Documents\TextPointer.cs (28)
2228edge = ElementEdge.BeforeEnd; 2233case ElementEdge.BeforeEnd: 2260edge = ElementEdge.BeforeEnd; 2861case ElementEdge.BeforeEnd: 2884case ElementEdge.BeforeEnd: 2920case ElementEdge.BeforeEnd: 3073case ElementEdge.BeforeEnd: 3133edge = ElementEdge.BeforeEnd; 3139edge = ElementEdge.BeforeEnd; 3140goto case ElementEdge.BeforeEnd; 3173case ElementEdge.BeforeEnd: 3236edge = ElementEdge.BeforeEnd; 3300edge = ElementEdge.BeforeEnd; 3337case ElementEdge.BeforeEnd: 3344edge = ElementEdge.BeforeEnd; 3447goto case ElementEdge.BeforeEnd; 3451case ElementEdge.BeforeEnd: 3509case ElementEdge.BeforeEnd: 3760case ElementEdge.BeforeEnd: 4016newEdge = ElementEdge.BeforeEnd; 4021case ElementEdge.BeforeEnd: 4042newEdge = ElementEdge.BeforeEnd; 4055return (this.Edge == ElementEdge.BeforeStart || this.Edge == ElementEdge.BeforeEnd) ? LogicalDirection.Forward : LogicalDirection.Backward; 4082if (edge == ElementEdge.AfterStart || edge == ElementEdge.BeforeEnd) 4139Invariant.Assert(this.Edge == ElementEdge.BeforeStart || this.Edge == ElementEdge.BeforeEnd, "Bad position edge/gravity pair! (1)"); 4155Invariant.Assert(this.Edge != ElementEdge.AfterStart && this.Edge != ElementEdge.BeforeEnd, "Position at inner leaf node edge!"); 4258edge == ElementEdge.BeforeEnd || 4284edge == ElementEdge.BeforeEnd ||
System\Windows\Documents\TextRangeSerialization.cs (3)
244ptr.MoveToElementEdge(ElementEdge.BeforeEnd); 278endPointer.MoveToElementEdge(ElementEdge.BeforeEnd); // Is this necessary? 489position.MoveToElementEdge(ElementEdge.BeforeEnd);
System\Windows\Documents\TextTreeNode.cs (3)
409case ElementEdge.BeforeEnd: 500edge = ElementEdge.BeforeEnd; 520case ElementEdge.BeforeEnd:
System\Windows\Documents\TextTreeTextElementNode.cs (2)
278return (_edgeReferenceCounts & ElementEdge.BeforeEnd) != 0; 284_edgeReferenceCounts |= ElementEdge.BeforeEnd;
System\Windows\Documents\ValidationHelper.cs (1)
83edge != ElementEdge.BeforeEnd &&