58 references to None
PresentationFramework (58)
MS\Internal\Documents\TextBoxLine.cs (1)
80case TextPointerContext.None:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1080case TextPointerContext.None:
MS\Internal\PtsHost\Line.cs (2)
162case TextPointerContext.None: 570TextPointerContext type = TextPointerContext.None;
MS\Internal\PtsHost\OptimalTextSource.cs (1)
109case TextPointerContext.None:
MS\Internal\Text\ComplexLine.cs (2)
60case TextPointerContext.None: 255TextPointerContext type = TextPointerContext.None;
System\Windows\Controls\PasswordTextNavigator.cs (1)
141symbolType = TextPointerContext.None;
System\Windows\Controls\TextRangeAdaptor.cs (3)
558if (backwardContext == TextPointerContext.None) 575if (forwardContext == TextPointerContext.None) 1061if (position.GetPointerContext(direction) != TextPointerContext.None)
System\Windows\Documents\CompositionAdorner.cs (1)
626while ((startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) &&
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
983if (textPosition.GetPointerContext(direction) == TextPointerContext.None)
System\Windows\Documents\DocumentSequenceTextPointer.cs (7)
867if (context != TextPointerContext.None) 877while (context == TextPointerContext.None && !block.IsTail) 889while (context == TextPointerContext.None && !block.IsHead) 964if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None || 965tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None) 974if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1064case TextPointerContext.None:
System\Windows\Documents\FixedTextView.cs (2)
176if (position.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1079if (ftp.FlowPosition.IsBoundary || symbolType == TextPointerContext.None)
System\Windows\Documents\FlowPosition.cs (3)
285(tst = flowScan.GetPointerContext(LogicalDirection.Backward))!= TextPointerContext.None) 645return TextPointerContext.None; 776return TextPointerContext.None;
System\Windows\Documents\Highlights.cs (1)
182case TextPointerContext.None:
System\Windows\Documents\ImmComposition.cs (4)
1424case TextPointerContext.None: 1474case TextPointerContext.None: 1554case TextPointerContext.None: 1570case TextPointerContext.None:
System\Windows\Documents\NullTextNavigator.cs (1)
72return TextPointerContext.None;
System\Windows\Documents\Speller.cs (2)
1101if (position.GetPointerContext(direction) == TextPointerContext.None) 1380searchPosition.GetPointerContext(direction) != TextPointerContext.None);
System\windows\Documents\TextEditorSpelling.cs (1)
285case TextPointerContext.None:
System\Windows\Documents\TextFindEngine.cs (1)
697case TextPointerContext.None:
System\Windows\Documents\TextPointer.cs (5)
494/// <para>Returns <see cref="TextPointerContext.None"/> if this TextPointer 3454symbolType = (node.ParentNode != null) ? TextPointerContext.ElementEnd : TextPointerContext.None; 3467symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementEnd; 3499symbolType = (node.GetContainingNode() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementStart; 3506symbolType = (node.ParentNode != null) ? TextPointerContext.ElementStart : TextPointerContext.None;
System\Windows\Documents\TextPointerBase.cs (6)
237else if (backwardContext == TextPointerContext.None && forwardContext == TextPointerContext.None) 256(backwardContext == TextPointerContext.ElementStart || backwardContext == TextPointerContext.None) && 723return thisPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.None && 996if (thisNavigator.GetPointerContext(direction) != TextPointerContext.None) 1021if (context == TextPointerContext.ElementStart || context == TextPointerContext.None)
System\Windows\Documents\TextRangeBase.cs (3)
347if (nextContext == TextPointerContext.None // 1358(insertPosition.GetPointerContext(LogicalDirection.Backward) == TextPointerContext.None || 1360(insertPosition.GetPointerContext(LogicalDirection.Forward) == TextPointerContext.None ||
System\Windows\Documents\TextRangeEdit.cs (1)
1662Invariant.Assert(pointerContext == TextPointerContext.None, "Unknown pointer context");
System\Windows\Documents\TextRangeSerialization.cs (4)
1524Invariant.Assert(backwardFromStart == TextPointerContext.ElementStart || backwardFromStart == TextPointerContext.ElementEnd || backwardFromStart == TextPointerContext.None, "Bad context preceding a pasted fragment"); 1527Invariant.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; 1656Invariant.Assert(passedContext != TextPointerContext.None, "TextPointerContext.None is not expected");
System\Windows\Documents\TextStore.cs (2)
448case TextPointerContext.None: 3197Invariant.Assert(context != TextPointerContext.None);
System\Windows\Documents\TextTreeFixupNode.cs (1)
110return TextPointerContext.None;
System\Windows\Documents\TextTreeRootNode.cs (1)
87return TextPointerContext.None;