16 references to GetPointerContext
PresentationFramework (16)
MS\Internal\Documents\TextBoxLine.cs (1)
73
switch (position.
GetPointerContext
(LogicalDirection.Forward))
MS\Internal\PtsHost\Line.cs (1)
140
switch (position.
GetPointerContext
(LogicalDirection.Forward))
MS\Internal\PtsHost\LineBase.cs (4)
81
Invariant.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
130
Invariant.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.ElementStart, "TextPointer does not point to element start edge.");
245
Invariant.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.ElementEnd, "TextPointer does not point to element end edge.");
299
Invariant.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
MS\Internal\PtsHost\OptimalTextSource.cs (1)
90
switch (position.
GetPointerContext
(LogicalDirection.Forward))
MS\Internal\PtsHost\TextParagraph.cs (1)
1190
if (position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.ElementStart)
MS\Internal\Text\ComplexLine.cs (5)
41
switch (position.
GetPointerContext
(LogicalDirection.Forward))
333
Debug.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.Text, "TextPointer does not point to characters.");
380
Debug.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.ElementStart, "TextPointer does not point to element start edge.");
471
Debug.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.ElementEnd, "TextPointer does not point to element end edge.");
521
Debug.Assert(position.
GetPointerContext
(LogicalDirection.Forward) == TextPointerContext.EmbeddedElement, "TextPointer does not point to embedded object.");
System\Windows\Documents\DocumentSequenceTextContainer.cs (2)
680
if (highlightRangeStart.
GetPointerContext
(LogicalDirection.Forward) != TextPointerContext.Text)
982
if (textPosition.
GetPointerContext
(direction) == TextPointerContext.None)
System\Windows\Documents\Highlights.cs (1)
179
switch (textPosition.
GetPointerContext
(direction))