15 references to GetPointerContext
PresentationFramework (15)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
83switch (position.GetPointerContext(LogicalDirection.Forward))
src\Framework\MS\Internal\PtsHost\Line.cs (1)
161switch (position.GetPointerContext(LogicalDirection.Forward))
src\Framework\MS\Internal\PtsHost\LineBase.cs (4)
95Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters."); 145Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.ElementStart, "TextPointer does not point to element start edge."); 261Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.ElementEnd, "TextPointer does not point to element end edge."); 315Invariant.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
110switch (position.GetPointerContext(LogicalDirection.Forward))
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
1228if (position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.ElementStart)
src\Framework\MS\Internal\Text\ComplexLine.cs (5)
50switch (position.GetPointerContext(LogicalDirection.Forward)) 343Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters."); 391Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.ElementStart, "TextPointer does not point to element start edge."); 483Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.ElementEnd, "TextPointer does not point to element end edge."); 533Debug.Assert(position.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
1008if (textPosition.GetPointerContext(direction) == TextPointerContext.None)
src\Framework\System\Windows\Documents\Highlights.cs (1)
187switch (textPosition.GetPointerContext(direction))