58 references to None
PresentationFramework (58)
MS\Internal\Documents\TextBoxLine.cs (1)
87
case TextPointerContext.
None
:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1100
case TextPointerContext.
None
:
MS\Internal\PtsHost\Line.cs (2)
176
case TextPointerContext.
None
:
585
TextPointerContext type = TextPointerContext.
None
;
MS\Internal\PtsHost\OptimalTextSource.cs (1)
124
case TextPointerContext.
None
:
MS\Internal\Text\ComplexLine.cs (2)
65
case TextPointerContext.
None
:
260
TextPointerContext type = TextPointerContext.
None
;
System\Windows\Controls\PasswordTextNavigator.cs (1)
145
symbolType = TextPointerContext.
None
;
System\Windows\Controls\TextRangeAdaptor.cs (3)
560
if (backwardContext == TextPointerContext.
None
)
577
if (forwardContext == TextPointerContext.
None
)
1063
if (position.GetPointerContext(direction) != TextPointerContext.
None
)
System\Windows\Documents\CompositionAdorner.cs (1)
627
while ((startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
) &&
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
1000
if (textPosition.GetPointerContext(direction) == TextPointerContext.
None
)
System\Windows\Documents\DocumentSequenceTextPointer.cs (7)
876
if (context != TextPointerContext.
None
)
886
while (context == TextPointerContext.
None
&& !block.IsTail)
898
while (context == TextPointerContext.
None
&& !block.IsHead)
973
if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
||
974
tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.
None
)
983
if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1073
case TextPointerContext.
None
:
System\Windows\Documents\FixedTextView.cs (2)
186
if (position.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1092
if (ftp.FlowPosition.IsBoundary || symbolType == TextPointerContext.
None
)
System\Windows\Documents\FlowPosition.cs (3)
289
(tst = flowScan.GetPointerContext(LogicalDirection.Backward))!= TextPointerContext.
None
)
649
return TextPointerContext.
None
;
780
return TextPointerContext.
None
;
System\Windows\Documents\Highlights.cs (1)
183
case TextPointerContext.
None
:
System\Windows\Documents\ImmComposition.cs (4)
1445
case TextPointerContext.
None
:
1495
case TextPointerContext.
None
:
1575
case TextPointerContext.
None
:
1591
case TextPointerContext.
None
:
System\Windows\Documents\NullTextNavigator.cs (1)
77
return TextPointerContext.
None
;
System\Windows\Documents\Speller.cs (2)
1105
if (position.GetPointerContext(direction) == TextPointerContext.
None
)
1384
searchPosition.GetPointerContext(direction) != TextPointerContext.
None
);
System\windows\Documents\TextEditorSpelling.cs (1)
286
case TextPointerContext.
None
:
System\Windows\Documents\TextFindEngine.cs (1)
706
case TextPointerContext.
None
:
System\Windows\Documents\TextPointer.cs (5)
499
/// <para>Returns <see cref="TextPointerContext.
None
"/> if this TextPointer
3459
symbolType = (node.ParentNode != null) ? TextPointerContext.ElementEnd : TextPointerContext.
None
;
3472
symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.
None
: TextPointerContext.ElementEnd;
3504
symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.
None
: TextPointerContext.ElementStart;
3511
symbolType = (node.ParentNode != null) ? TextPointerContext.ElementStart : TextPointerContext.
None
;
System\Windows\Documents\TextPointerBase.cs (6)
239
else if (backwardContext == TextPointerContext.
None
&& forwardContext == TextPointerContext.
None
)
258
(backwardContext == TextPointerContext.ElementStart || backwardContext == TextPointerContext.
None
) &&
725
return thisPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.
None
&&
998
if (thisNavigator.GetPointerContext(direction) != TextPointerContext.
None
)
1023
if (context == TextPointerContext.ElementStart || context == TextPointerContext.
None
)
System\Windows\Documents\TextRangeBase.cs (3)
350
if (nextContext == TextPointerContext.
None
//
1361
(insertPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.
None
||
1363
(insertPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.
None
||
System\Windows\Documents\TextRangeEdit.cs (1)
1664
Invariant.Assert(pointerContext == TextPointerContext.
None
, "Unknown pointer context");
System\Windows\Documents\TextRangeSerialization.cs (4)
1530
Invariant.Assert(backwardFromStart == TextPointerContext.ElementStart || backwardFromStart == TextPointerContext.ElementEnd || backwardFromStart == TextPointerContext.
None
, "Bad context preceding a pasted fragment");
1533
Invariant.Assert(forwardFromEnd == TextPointerContext.ElementStart || forwardFromEnd == TextPointerContext.ElementEnd || forwardFromEnd == TextPointerContext.
None
, "Bad context following a pasted fragment");
1556
((Section)fragment).HasTrailingParagraphBreakOnPaste = range.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
;
1662
Invariant.Assert(passedContext != TextPointerContext.
None
, "TextPointerContext.None is not expected");
System\Windows\Documents\TextStore.cs (2)
459
case TextPointerContext.
None
:
3206
Invariant.Assert(context != TextPointerContext.
None
);
System\Windows\Documents\TextTreeFixupNode.cs (1)
111
return TextPointerContext.
None
;
System\Windows\Documents\TextTreeRootNode.cs (1)
89
return TextPointerContext.
None
;