19 references to EndPosition
PresentationFramework (19)
MS\Internal\Documents\ParagraphResult.cs (5)
429
contains = (position.CompareTo(this.
EndPosition
) == 0);
1087
ITextPointer endPositionInThisPara = endPosition.CompareTo(this.
EndPosition
) < 0 ? endPosition : this.
EndPosition
;
1259
ITextPointer endPositionInThisPara = endPosition.CompareTo(this.
EndPosition
) < 0 ? endPosition : this.
EndPosition
;
MS\Internal\Documents\TextDocumentView.cs (13)
769
position = paragraph.
EndPosition
.CreatePointer(LogicalDirection.Backward);
889
position = paragraph.
EndPosition
.CreatePointer(LogicalDirection.Backward);
1289
if (startPosition.CompareTo(paragraphs[i].
EndPosition
) > 0)
1379
endPosition.CompareTo(floatingElements[i].
EndPosition
) < 0))
2251
else if (position.CompareTo(paragraphs[paragraphs.Count - 1].
EndPosition
) == 0)
2337
lineRange = new TextSegment(((TextParagraphResult)paragraph).
EndPosition
, ((TextParagraphResult)paragraph).
EndPosition
, true);
3139
if (start.CompareTo(tpr.
EndPosition
) < 0 && end.CompareTo(tpr.StartPosition) > 0)
3142
ITextPointer endRange = end.CompareTo(tpr.
EndPosition
) < 0 ? end : tpr.
EndPosition
;
3146
if (end.CompareTo(tpr.
EndPosition
) < 0)
3192
ITextPointer endThisPara = end.CompareTo(paragraph.
EndPosition
) < 0 ? end : paragraph.
EndPosition
;
MS\Internal\LayoutDump.cs (1)
742
DumpTextRange(writer, paragraph.StartPosition, paragraph.
EndPosition
);