55 references to BeforeEnd
PresentationFramework (55)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (1)
657
case ElementEdge.
BeforeEnd
:
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (1)
278
return TextContainerHelper.GetCPFromElement(StructuralCache.TextContainer, Element, ElementEdge.
BeforeEnd
);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
292
pos.MoveToElementEdge(ElementEdge.
BeforeEnd
);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
463
case ElementEdge.
BeforeEnd
:
src\Framework\System\Windows\Documents\TextContainer.cs (9)
650
edge = (direction == LogicalDirection.Backward) ? ElementEdge.AfterStart : ElementEdge.
BeforeEnd
;
888
if (position.Edge == ElementEdge.BeforeStart || position.Edge == ElementEdge.
BeforeEnd
)
1141
endEdgePosition = new TextPointer(this, elementNode, ElementEdge.
BeforeEnd
);
1350
edge = ElementEdge.
BeforeEnd
;
1686
endPosition = new TextPointer(this, _rootNode, ElementEdge.
BeforeEnd
, LogicalDirection.Forward);
2365
nextEdge = ElementEdge.
BeforeEnd
;
2657
case ElementEdge.
BeforeEnd
:
2681
case ElementEdge.
BeforeEnd
:
3014
nextEdge = ElementEdge.
BeforeEnd
;
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
139
lineEnd.MoveToElementEdge(ElementEdge.
BeforeEnd
);
src\Framework\System\Windows\Documents\TextElement.cs (4)
311
TextPointer contentEnd = new TextPointer(tree, _textElementNode, ElementEdge.
BeforeEnd
, LogicalDirection.Forward);
400
contentEnd = new TextPointer(tree, _textElementNode, ElementEdge.
BeforeEnd
, LogicalDirection.Forward);
1564
tree.InsertTextInternal(new TextPointer(tree, _textElementNode, ElementEdge.
BeforeEnd
), textData);
1601
position = new TextPointer(tree, _textElementNode, ElementEdge.
BeforeEnd
);
src\Framework\System\Windows\Documents\TextPointer.cs (28)
2253
edge = ElementEdge.
BeforeEnd
;
2258
case ElementEdge.
BeforeEnd
:
2285
edge = ElementEdge.
BeforeEnd
;
2892
case ElementEdge.
BeforeEnd
:
2915
case ElementEdge.
BeforeEnd
:
2951
case ElementEdge.
BeforeEnd
:
3104
case ElementEdge.
BeforeEnd
:
3164
edge = ElementEdge.
BeforeEnd
;
3170
edge = ElementEdge.
BeforeEnd
;
3171
goto case ElementEdge.
BeforeEnd
;
3204
case ElementEdge.
BeforeEnd
:
3267
edge = ElementEdge.
BeforeEnd
;
3331
edge = ElementEdge.
BeforeEnd
;
3368
case ElementEdge.
BeforeEnd
:
3375
edge = ElementEdge.
BeforeEnd
;
3478
goto case ElementEdge.
BeforeEnd
;
3482
case ElementEdge.
BeforeEnd
:
3540
case ElementEdge.
BeforeEnd
:
3791
case ElementEdge.
BeforeEnd
:
4047
newEdge = ElementEdge.
BeforeEnd
;
4052
case ElementEdge.
BeforeEnd
:
4073
newEdge = ElementEdge.
BeforeEnd
;
4086
return (this.Edge == ElementEdge.BeforeStart || this.Edge == ElementEdge.
BeforeEnd
) ? LogicalDirection.Forward : LogicalDirection.Backward;
4113
if (edge == ElementEdge.AfterStart || edge == ElementEdge.
BeforeEnd
)
4170
Invariant.Assert(this.Edge == ElementEdge.BeforeStart || this.Edge == ElementEdge.
BeforeEnd
, "Bad position edge/gravity pair! (1)");
4186
Invariant.Assert(this.Edge != ElementEdge.AfterStart && this.Edge != ElementEdge.
BeforeEnd
, "Position at inner leaf node edge!");
4289
edge == ElementEdge.
BeforeEnd
||
4315
edge == ElementEdge.
BeforeEnd
||
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (3)
256
ptr.MoveToElementEdge(ElementEdge.
BeforeEnd
);
290
endPointer.MoveToElementEdge(ElementEdge.
BeforeEnd
); //
501
position.MoveToElementEdge(ElementEdge.
BeforeEnd
);
src\Framework\System\Windows\Documents\TextTreeNode.cs (3)
416
case ElementEdge.
BeforeEnd
:
507
edge = ElementEdge.
BeforeEnd
;
527
case ElementEdge.
BeforeEnd
:
src\Framework\System\Windows\Documents\TextTreeTextElementNode.cs (2)
285
return (_edgeReferenceCounts & ElementEdge.
BeforeEnd
) != 0;
291
_edgeReferenceCounts |= ElementEdge.
BeforeEnd
;
src\Framework\System\Windows\Documents\ValidationHelper.cs (1)
93
edge != ElementEdge.
BeforeEnd
&&