58 references to None
PresentationFramework (58)
MS\Internal\Documents\TextBoxLine.cs (1)
80
case TextPointerContext.
None
:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1080
case TextPointerContext.
None
:
MS\Internal\PtsHost\Line.cs (2)
162
case TextPointerContext.
None
:
570
TextPointerContext type = TextPointerContext.
None
;
MS\Internal\PtsHost\OptimalTextSource.cs (1)
109
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)
626
while ((startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
) &&
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
983
if (textPosition.GetPointerContext(direction) == TextPointerContext.
None
)
System\Windows\Documents\DocumentSequenceTextPointer.cs (7)
867
if (context != TextPointerContext.
None
)
877
while (context == TextPointerContext.
None
&& !block.IsTail)
889
while (context == TextPointerContext.
None
&& !block.IsHead)
964
if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
||
965
tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.
None
)
974
if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1064
case TextPointerContext.
None
:
System\Windows\Documents\FixedTextView.cs (2)
176
if (position.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.
None
)
1079
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)
1424
case TextPointerContext.
None
:
1474
case TextPointerContext.
None
:
1554
case TextPointerContext.
None
:
1570
case TextPointerContext.
None
:
System\Windows\Documents\NullTextNavigator.cs (1)
72
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)
697
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
:
3197
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
;