5 implementations of CompareTo
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
105
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
72
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\FixedTextPointer.cs (1)
72
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\NullTextNavigator.cs (1)
55
int ITextPointer.
CompareTo
(StaticTextPointer position)
System\Windows\Documents\TextPointer.cs (1)
2358
int ITextPointer.
CompareTo
(StaticTextPointer position)
10 references to CompareTo
PresentationFramework (10)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
252
if ((highlightSegment.Segment.Start.
CompareTo
(textPosition) > 0) ||
253
((highlightSegment.Segment.Start.
CompareTo
(textPosition) == 0) && (direction == LogicalDirection.Backward)))
259
if ((highlightSegment.Segment.End.
CompareTo
(textPosition) > 0) ||
260
((highlightSegment.Segment.End.
CompareTo
(textPosition) == 0) && (direction == LogicalDirection.Backward)))
MS\Internal\PtsHost\CellParaClient.cs (1)
323
if (endPosition.
CompareTo
(Cell.StaticElementEnd) >= 0)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
70
/// <see cref="ITextPointer.
CompareTo
(StaticTextPointer)"/>
System\Windows\Documents\SpellerStatusTable.cs (2)
627
if (runPosition.CompareTo(position) > 0 && runPosition.
CompareTo
(GetRunEndPosition(i)) != 0)
700
Invariant.Assert(run.Position.
CompareTo
(GetRunEndPosition(i)) <= 0, "Found negative width run!");
System\windows\Documents\TextSelectionHighlightLayer.cs (2)
92
if ((direction == LogicalDirection.Forward && textSegment.Start.
CompareTo
(textPosition) <= 0 && textPosition.CompareTo(textSegment.End) < 0) || //
93
(direction == LogicalDirection.Backward && textSegment.Start.
CompareTo
(textPosition) < 0 && textPosition.CompareTo(textSegment.End) <= 0))