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