58 references to None
PresentationFramework (58)
MS\Internal\Documents\TextBoxLine.cs (1)
80
case TextPointerContext.
None
:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1095
case TextPointerContext.
None
:
MS\Internal\PtsHost\Line.cs (2)
170
case TextPointerContext.
None
:
579
TextPointerContext type = TextPointerContext.
None
;
MS\Internal\PtsHost\OptimalTextSource.cs (1)
117
case TextPointerContext.
None
:
MS\Internal\Text\ComplexLine.cs (2)
60
case TextPointerContext.
None
:
255
TextPointerContext type = TextPointerContext.
None
;
System\Windows\Controls\PasswordTextNavigator.cs (1)
141
symbolType = TextPointerContext.
None
;
System\Windows\Controls\TextRangeAdaptor.cs (3)
558
if (backwardContext == TextPointerContext.
None
)
575
if (forwardContext == TextPointerContext.
None
)
1061
if (position.GetPointerContext(direction) != TextPointerContext.
None
)
System\Windows\Documents\CompositionAdorner.cs (1)
624
while ((startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
) &&
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
992
if (textPosition.GetPointerContext(direction) == TextPointerContext.
None
)
System\Windows\Documents\DocumentSequenceTextPointer.cs (7)
870
if (context != TextPointerContext.
None
)
880
while (context == TextPointerContext.
None
&& !block.IsTail)
892
while (context == TextPointerContext.
None
&& !block.IsHead)
967
if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
||
968
tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.
None
)
977
if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1067
case TextPointerContext.
None
:
System\Windows\Documents\FixedTextView.cs (2)
178
if (position.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1084
if (ftp.FlowPosition.IsBoundary || symbolType == TextPointerContext.
None
)
System\Windows\Documents\FlowPosition.cs (3)
285
(tst = flowScan.GetPointerContext(LogicalDirection.Backward))!= TextPointerContext.
None
)
645
return TextPointerContext.
None
;
776
return TextPointerContext.
None
;
System\Windows\Documents\Highlights.cs (1)
182
case TextPointerContext.
None
:
System\Windows\Documents\ImmComposition.cs (4)
1437
case TextPointerContext.
None
:
1487
case TextPointerContext.
None
:
1567
case TextPointerContext.
None
:
1583
case TextPointerContext.
None
:
System\Windows\Documents\NullTextNavigator.cs (1)
74
return TextPointerContext.
None
;
System\Windows\Documents\Speller.cs (2)
1101
if (position.GetPointerContext(direction) == TextPointerContext.
None
)
1380
searchPosition.GetPointerContext(direction) != TextPointerContext.
None
);
System\windows\Documents\TextEditorSpelling.cs (1)
285
case TextPointerContext.
None
:
System\Windows\Documents\TextFindEngine.cs (1)
698
case TextPointerContext.
None
:
System\Windows\Documents\TextPointer.cs (5)
494
/// <para>Returns <see cref="TextPointerContext.
None
"/> if this TextPointer
3454
symbolType = (node.ParentNode != null) ? TextPointerContext.ElementEnd : TextPointerContext.
None
;
3467
symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.
None
: TextPointerContext.ElementEnd;
3499
symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.
None
: TextPointerContext.ElementStart;
3506
symbolType = (node.ParentNode != null) ? TextPointerContext.ElementStart : TextPointerContext.
None
;
System\Windows\Documents\TextPointerBase.cs (6)
237
else if (backwardContext == TextPointerContext.
None
&& forwardContext == TextPointerContext.
None
)
256
(backwardContext == TextPointerContext.ElementStart || backwardContext == TextPointerContext.
None
) &&
723
return thisPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.
None
&&
996
if (thisNavigator.GetPointerContext(direction) != TextPointerContext.
None
)
1021
if (context == TextPointerContext.ElementStart || context == TextPointerContext.
None
)
System\Windows\Documents\TextRangeBase.cs (3)
347
if (nextContext == TextPointerContext.
None
//
1358
(insertPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.
None
||
1360
(insertPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.
None
||
System\Windows\Documents\TextRangeEdit.cs (1)
1662
Invariant.Assert(pointerContext == TextPointerContext.
None
, "Unknown pointer context");
System\Windows\Documents\TextRangeSerialization.cs (4)
1524
Invariant.Assert(backwardFromStart == TextPointerContext.ElementStart || backwardFromStart == TextPointerContext.ElementEnd || backwardFromStart == TextPointerContext.
None
, "Bad context preceding a pasted fragment");
1527
Invariant.Assert(forwardFromEnd == TextPointerContext.ElementStart || forwardFromEnd == TextPointerContext.ElementEnd || forwardFromEnd == TextPointerContext.
None
, "Bad context following a pasted fragment");
1550
((Section)fragment).HasTrailingParagraphBreakOnPaste = range.End.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
;
1656
Invariant.Assert(passedContext != TextPointerContext.
None
, "TextPointerContext.None is not expected");
System\Windows\Documents\TextStore.cs (2)
448
case TextPointerContext.
None
:
3195
Invariant.Assert(context != TextPointerContext.
None
);
System\Windows\Documents\TextTreeFixupNode.cs (1)
110
return TextPointerContext.
None
;
System\Windows\Documents\TextTreeRootNode.cs (1)
87
return TextPointerContext.
None
;