19 references to EndPosition
PresentationFramework (19)
MS\Internal\Documents\ParagraphResult.cs (5)
432
contains = (position.CompareTo(this.
EndPosition
) == 0);
1090
ITextPointer endPositionInThisPara = endPosition.CompareTo(this.
EndPosition
) < 0 ? endPosition : this.
EndPosition
;
1262
ITextPointer endPositionInThisPara = endPosition.CompareTo(this.
EndPosition
) < 0 ? endPosition : this.
EndPosition
;
MS\Internal\Documents\TextDocumentView.cs (13)
771
position = paragraph.
EndPosition
.CreatePointer(LogicalDirection.Backward);
891
position = paragraph.
EndPosition
.CreatePointer(LogicalDirection.Backward);
1291
if (startPosition.CompareTo(paragraphs[i].
EndPosition
) > 0)
1381
endPosition.CompareTo(floatingElements[i].
EndPosition
) < 0))
2253
else if (position.CompareTo(paragraphs[paragraphs.Count - 1].
EndPosition
) == 0)
2339
lineRange = new TextSegment(((TextParagraphResult)paragraph).
EndPosition
, ((TextParagraphResult)paragraph).
EndPosition
, true);
3141
if (start.CompareTo(tpr.
EndPosition
) < 0 && end.CompareTo(tpr.StartPosition) > 0)
3144
ITextPointer endRange = end.CompareTo(tpr.
EndPosition
) < 0 ? end : tpr.
EndPosition
;
3148
if (end.CompareTo(tpr.
EndPosition
) < 0)
3194
ITextPointer endThisPara = end.CompareTo(paragraph.
EndPosition
) < 0 ? end : paragraph.
EndPosition
;
MS\Internal\LayoutDump.cs (1)
745
DumpTextRange(writer, paragraph.StartPosition, paragraph.
EndPosition
);