5 implementations of CompareTo
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
101
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
64
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\FixedTextPointer.cs (1)
65
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\NullTextNavigator.cs (1)
50
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\TextPointer.cs (1)
2353
int ITextPointer.
CompareTo
(StaticTextPointer position)
10 references to CompareTo
PresentationFramework (10)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
245
if ((highlightSegment.Segment.Start.
CompareTo
(textPosition) > 0) ||
246
((highlightSegment.Segment.Start.
CompareTo
(textPosition) == 0) && (direction == LogicalDirection.Backward)))
252
if ((highlightSegment.Segment.End.
CompareTo
(textPosition) > 0) ||
253
((highlightSegment.Segment.End.
CompareTo
(textPosition) == 0) && (direction == LogicalDirection.Backward)))
MS\Internal\PtsHost\CellParaClient.cs (1)
318
if (endPosition.
CompareTo
(Cell.StaticElementEnd) >= 0)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
62
/// <see cref="ITextPointer.
CompareTo
(StaticTextPointer)"/>
System\Windows\Documents\SpellerStatusTable.cs (2)
625
if (runPosition.CompareTo(position) > 0 && runPosition.
CompareTo
(GetRunEndPosition(i)) != 0)
698
Invariant.Assert(run.Position.
CompareTo
(GetRunEndPosition(i)) <= 0, "Found negative width run!");
System\windows\Documents\TextSelectionHighlightLayer.cs (2)
90
if ((direction == LogicalDirection.Forward && textSegment.Start.
CompareTo
(textPosition) <= 0 && textPosition.CompareTo(textSegment.End) < 0) || //
91
(direction == LogicalDirection.Backward && textSegment.Start.
CompareTo
(textPosition) < 0 && textPosition.CompareTo(textSegment.End) <= 0))