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