10 references to CompareTo
PresentationFramework (10)
System\Windows\Documents\FixedTextContainer.cs (3)
352
if (fixedTextPointer.
CompareTo
(((ITextContainer)this).Start) == 0)
356
else if (fixedTextPointer.
CompareTo
(((ITextContainer)this).End) == 0)
411
if (start.
CompareTo
(end) > 0)
System\Windows\Documents\FixedTextPointer.cs (1)
84
return
CompareTo
(position);
System\Windows\Documents\FixedTextView.cs (6)
650
return ((tp.
CompareTo
(this.Start) > 0 && tp.
CompareTo
(this.End) < 0) ||
651
(tp.
CompareTo
(this.Start) == 0 && (tp.LogicalDirection == LogicalDirection.Forward || this.IsContainerStart)) ||
652
(tp.
CompareTo
(this.End) == 0 && (tp.LogicalDirection == LogicalDirection.Backward || this.IsContainerEnd))
1268
return (this.Start.
CompareTo
(this.TextContainer.Start) == 0);
1276
return (this.End.
CompareTo
(this.TextContainer.End) == 0);