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