5 implementations of CreatePointer
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
350ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
202ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
System\Windows\Documents\FixedTextPointer.cs (1)
271ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
System\Windows\Documents\NullTextNavigator.cs (1)
193ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
System\Windows\Documents\TextPointer.cs (1)
2580ITextPointer ITextPointer.CreatePointer(int offset, LogicalDirection gravity)
31 references to CreatePointer
PresentationFramework (31)
MS\Internal\Documents\TextDocumentView.cs (1)
3288segmentEnd = _textContainer.Start.CreatePointer(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward);
System\Windows\Controls\TextBlock.cs (3)
2147pos = _complexContent.TextContainer.Start.CreatePointer(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection); 2554ITextPointer nextCaretPosition = _complexContent.TextContainer.Start.CreatePointer(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection); 2642ITextPointer backspaceCaretPosition = _complexContent.TextContainer.Start.CreatePointer(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
System\Windows\Documents\CompositionAdorner.cs (2)
482ITextPointer start = _textView.TextContainer.Start.CreatePointer(_startOffset, LogicalDirection.Forward); 483ITextPointer end = _textView.TextContainer.Start.CreatePointer(_endOffset, LogicalDirection.Backward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
105return ((ITextContainer)this).Start.CreatePointer(offset, direction);
System\Windows\Documents\DocumentSequenceTextPointer.cs (2)
200/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/> 774/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/>
System\Windows\Documents\FixedTextContainer.cs (1)
89return ((ITextContainer)this).Start.CreatePointer(offset, direction);
System\Windows\Documents\FixedTextPointer.cs (4)
239return ((ITextPointer)this).CreatePointer(0, ((ITextPointer)this).LogicalDirection); 257return ((ITextPointer)this).CreatePointer(distance, ((ITextPointer)this).LogicalDirection); 265return ((ITextPointer)this).CreatePointer(0, gravity); 269/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/>
System\Windows\Documents\FlowDocument.cs (1)
1491segmentEnd = args.ITextPosition.CreatePointer(args.Count, LogicalDirection.Forward);
System\Windows\Documents\ImmComposition.cs (5)
640caretNavigator = _caretOffset > 0 ? _startComposition.CreatePointer(_caretOffset, LogicalDirection.Forward) : _endComposition; 1137start = range.Start.CreatePointer(resultLength, LogicalDirection.Forward); 1141ITextPointer caretPosition = _caretOffset >= 0 ? start.CreatePointer(_caretOffset, LogicalDirection.Forward) : end; 1180ITextPointer startAttribute = _startComposition.CreatePointer(startOffset, LogicalDirection.Backward); 1181ITextPointer endAttribute = _startComposition.CreatePointer(i + 1, LogicalDirection.Forward);
System\Windows\Documents\NullTextContainer.cs (1)
82return ((ITextContainer)this).Start.CreatePointer(offset, direction);
System\Windows\Documents\NullTextNavigator.cs (4)
164return ((ITextPointer)this).CreatePointer(0, _gravity); 179return ((ITextPointer)this).CreatePointer(distance, _gravity); 187return ((ITextPointer)this).CreatePointer(0, gravity); 191/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/>
System\windows\Documents\TextEditorMouse.cs (1)
739otherEdgePosition = otherEdgePosition.CreatePointer(0, otherEdgeDirection);
System\windows\Documents\TextEditorSpelling.cs (1)
148caretPosition = textStart.CreatePointer(+correctedText.Length, LogicalDirection.Forward);
System\Windows\Documents\TextFindEngine.cs (1)
300ITextPointer oppositeEndPosition = position.CreatePointer(oppositeEndOffset, position.LogicalDirection);
System\Windows\Documents\TextPointer.cs (3)
2559return ((ITextPointer)this).CreatePointer(0, this.LogicalDirection); 2572return ((ITextPointer)this).CreatePointer(offset, this.LogicalDirection); 2577return ((ITextPointer)this).CreatePointer(0, gravity);