58 references to None
PresentationFramework (58)
MS\Internal\Documents\TextBoxLine.cs (1)
80case TextPointerContext.None:
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1095case TextPointerContext.None:
MS\Internal\PtsHost\Line.cs (2)
170case TextPointerContext.None: 579TextPointerContext type = TextPointerContext.None;
MS\Internal\PtsHost\OptimalTextSource.cs (1)
117case 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)
624while ((startLinePointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) &&
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
992if (textPosition.GetPointerContext(direction) == TextPointerContext.None)
System\Windows\Documents\DocumentSequenceTextPointer.cs (7)
870if (context != TextPointerContext.None) 880while (context == TextPointerContext.None && !block.IsTail) 892while (context == TextPointerContext.None && !block.IsHead) 967if (tp1.ChildPointer.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None || 968tp2.ChildPointer.GetPointerContext(LogicalDirection.Backward) != TextPointerContext.None) 977if (block.ChildContainer.Start.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1067case TextPointerContext.None:
System\Windows\Documents\FixedTextView.cs (2)
178if (position.GetPointerContext(LogicalDirection.Forward) != TextPointerContext.None) 1084if (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)
1437case TextPointerContext.None: 1487case TextPointerContext.None: 1567case TextPointerContext.None: 1583case TextPointerContext.None:
System\Windows\Documents\NullTextNavigator.cs (1)
74return 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)
698case 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: 3195Invariant.Assert(context != TextPointerContext.None);
System\Windows\Documents\TextTreeFixupNode.cs (1)
110return TextPointerContext.None;
System\Windows\Documents\TextTreeRootNode.cs (1)
87return TextPointerContext.None;