58 references to None
PresentationFramework (58)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
89
case TextPointerContext.
None
:
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1126
case TextPointerContext.
None
:
src\Framework\MS\Internal\PtsHost\Line.cs (2)
179
case TextPointerContext.
None
:
588
TextPointerContext type = TextPointerContext.
None
;
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
128
case TextPointerContext.
None
:
src\Framework\MS\Internal\Text\ComplexLine.cs (2)
68
case TextPointerContext.
None
:
263
TextPointerContext type = TextPointerContext.
None
;
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
147
symbolType = TextPointerContext.
None
;
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (3)
568
if (backwardContext == TextPointerContext.
None
)
585
if (forwardContext == TextPointerContext.
None
)
1072
if (position.GetPointerContext(direction) != TextPointerContext.
None
)
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
629
while ((startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
) &&
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
1008
if (textPosition.GetPointerContext(direction) == TextPointerContext.
None
)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (7)
893
if (context != TextPointerContext.
None
)
903
while (context == TextPointerContext.
None
&& !block.IsTail)
915
while (context == TextPointerContext.
None
&& !block.IsHead)
990
if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
||
991
tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.
None
)
1000
if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1090
case TextPointerContext.
None
:
src\Framework\System\Windows\Documents\FixedTextView.cs (2)
193
if (position.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1104
if (ftp.FlowPosition.IsBoundary || symbolType == TextPointerContext.
None
)
src\Framework\System\Windows\Documents\FlowPosition.cs (3)
296
(tst = flowScan.GetPointerContext(LogicalDirection.Backward))!= TextPointerContext.
None
)
656
return TextPointerContext.
None
;
787
return TextPointerContext.
None
;
src\Framework\System\Windows\Documents\Highlights.cs (1)
189
case TextPointerContext.
None
:
src\Framework\System\Windows\Documents\ImmComposition.cs (4)
1592
case TextPointerContext.
None
:
1642
case TextPointerContext.
None
:
1726
case TextPointerContext.
None
:
1742
case TextPointerContext.
None
:
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
79
return TextPointerContext.
None
;
src\Framework\System\Windows\Documents\Speller.cs (2)
1180
if (position.GetPointerContext(direction) == TextPointerContext.
None
)
1464
searchPosition.GetPointerContext(direction) != TextPointerContext.
None
);
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
288
case TextPointerContext.
None
:
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
717
case TextPointerContext.
None
:
src\Framework\System\Windows\Documents\TextPointer.cs (5)
510
/// <para>Returns <see cref="TextPointerContext.
None
"/> if this TextPointer
3485
symbolType = (node.ParentNode != null) ? TextPointerContext.ElementEnd : TextPointerContext.
None
;
3498
symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.
None
: TextPointerContext.ElementEnd;
3530
symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.
None
: TextPointerContext.ElementStart;
3537
symbolType = (node.ParentNode != null) ? TextPointerContext.ElementStart : TextPointerContext.
None
;
src\Framework\System\Windows\Documents\TextPointerBase.cs (6)
241
else if (backwardContext == TextPointerContext.
None
&& forwardContext == TextPointerContext.
None
)
260
(backwardContext == TextPointerContext.ElementStart || backwardContext == TextPointerContext.
None
) &&
730
return thisPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.
None
&&
1003
if (thisNavigator.GetPointerContext(direction) != TextPointerContext.
None
)
1028
if (context == TextPointerContext.ElementStart || context == TextPointerContext.
None
)
src\Framework\System\Windows\Documents\TextRangeBase.cs (3)
361
if (nextContext == TextPointerContext.
None
//
1375
(insertPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.
None
||
1377
(insertPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.
None
||
src\Framework\System\Windows\Documents\TextRangeEdit.cs (1)
1666
Invariant.Assert(pointerContext == TextPointerContext.
None
, "Unknown pointer context");
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (4)
1552
Invariant.Assert(backwardFromStart == TextPointerContext.ElementStart || backwardFromStart == TextPointerContext.ElementEnd || backwardFromStart == TextPointerContext.
None
, "Bad context preceding a pasted fragment");
1554
Invariant.Assert(forwardFromEnd == TextPointerContext.ElementStart || forwardFromEnd == TextPointerContext.ElementEnd || forwardFromEnd == TextPointerContext.
None
, "Bad context following a pasted fragment");
1576
((Section)fragment).HasTrailingParagraphBreakOnPaste = range.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
;
1682
Invariant.Assert(passedContext != TextPointerContext.
None
, "TextPointerContext.None is not expected");
src\Framework\System\Windows\Documents\TextStore.cs (2)
352
case TextPointerContext.
None
:
3115
Invariant.Assert(context != TextPointerContext.
None
);
src\Framework\System\Windows\Documents\TextTreeFixupNode.cs (1)
117
return TextPointerContext.
None
;
src\Framework\System\Windows\Documents\TextTreeRootNode.cs (1)
95
return TextPointerContext.
None
;