19 references to EndPosition
PresentationFramework (19)
src\Framework\MS\Internal\Documents\ParagraphResult.cs (5)
438
contains = (position.CompareTo(this.
EndPosition
) == 0);
1098
ITextPointer endPositionInThisPara = endPosition.CompareTo(this.
EndPosition
) < 0 ? endPosition : this.
EndPosition
;
1271
ITextPointer endPositionInThisPara = endPosition.CompareTo(this.
EndPosition
) < 0 ? endPosition : this.
EndPosition
;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (13)
779
position = paragraph.
EndPosition
.CreatePointer(LogicalDirection.Backward);
899
position = paragraph.
EndPosition
.CreatePointer(LogicalDirection.Backward);
1299
if (startPosition.CompareTo(paragraphs[i].
EndPosition
) > 0)
1389
endPosition.CompareTo(floatingElements[i].
EndPosition
) < 0))
2261
else if (position.CompareTo(paragraphs[paragraphs.Count - 1].
EndPosition
) == 0)
2347
lineRange = new TextSegment(((TextParagraphResult)paragraph).
EndPosition
, ((TextParagraphResult)paragraph).
EndPosition
, true);
3150
if (start.CompareTo(tpr.
EndPosition
) < 0 && end.CompareTo(tpr.StartPosition) > 0)
3153
ITextPointer endRange = end.CompareTo(tpr.
EndPosition
) < 0 ? end : tpr.
EndPosition
;
3157
if (end.CompareTo(tpr.
EndPosition
) < 0)
3203
ITextPointer endThisPara = end.CompareTo(paragraph.
EndPosition
) < 0 ? end : paragraph.
EndPosition
;
src\Framework\MS\Internal\LayoutDump.cs (1)
748
DumpTextRange(writer, paragraph.StartPosition, paragraph.
EndPosition
);