5 implementations of CreatePointer
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
356ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
212ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
291ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
198ITextPointer ITextPointer.CreatePointer(int distance, LogicalDirection gravity)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2611ITextPointer ITextPointer.CreatePointer(int offset, LogicalDirection gravity)
31 references to CreatePointer
PresentationFramework (31)
src\Framework\MS\Internal\Documents\TextDocumentView.cs (1)
3299segmentEnd = _textContainer.Start.CreatePointer(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward);
src\Framework\System\Windows\Controls\TextBlock.cs (3)
2244pos = _complexContent.TextContainer.Start.CreatePointer(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection); 2653ITextPointer nextCaretPosition = _complexContent.TextContainer.Start.CreatePointer(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection); 2741ITextPointer backspaceCaretPosition = _complexContent.TextContainer.Start.CreatePointer(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (2)
487ITextPointer start = _textView.TextContainer.Start.CreatePointer(_startOffset, LogicalDirection.Forward); 488ITextPointer end = _textView.TextContainer.Start.CreatePointer(_endOffset, LogicalDirection.Backward);
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
117return ((ITextContainer)this).Start.CreatePointer(offset, direction);
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (2)
210/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/> 793/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/>
src\Framework\System\Windows\Documents\FixedTextContainer.cs (1)
102return ((ITextContainer)this).Start.CreatePointer(offset, direction);
src\Framework\System\Windows\Documents\FixedTextPointer.cs (4)
259return ((ITextPointer)this).CreatePointer(0, ((ITextPointer)this).LogicalDirection); 277return ((ITextPointer)this).CreatePointer(distance, ((ITextPointer)this).LogicalDirection); 285return ((ITextPointer)this).CreatePointer(0, gravity); 289/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/>
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
1500segmentEnd = args.ITextPosition.CreatePointer(args.Count, LogicalDirection.Forward);
src\Framework\System\Windows\Documents\ImmComposition.cs (5)
744caretNavigator = _caretOffset > 0 ? _startComposition.CreatePointer(_caretOffset, LogicalDirection.Forward) : _endComposition; 1277start = range.Start.CreatePointer(resultLength, LogicalDirection.Forward); 1281ITextPointer caretPosition = _caretOffset >= 0 ? start.CreatePointer(_caretOffset, LogicalDirection.Forward) : end; 1320ITextPointer startAttribute = _startComposition.CreatePointer(startOffset, LogicalDirection.Backward); 1321ITextPointer endAttribute = _startComposition.CreatePointer(i + 1, LogicalDirection.Forward);
src\Framework\System\Windows\Documents\NullTextContainer.cs (1)
89return ((ITextContainer)this).Start.CreatePointer(offset, direction);
src\Framework\System\Windows\Documents\NullTextNavigator.cs (4)
169return ((ITextPointer)this).CreatePointer(0, _gravity); 184return ((ITextPointer)this).CreatePointer(distance, _gravity); 192return ((ITextPointer)this).CreatePointer(0, gravity); 196/// <see cref="ITextPointer.CreatePointer(int,LogicalDirection)"/>
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
754otherEdgePosition = otherEdgePosition.CreatePointer(0, otherEdgeDirection);
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
151caretPosition = textStart.CreatePointer(+correctedText.Length, LogicalDirection.Forward);
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
313ITextPointer oppositeEndPosition = position.CreatePointer(oppositeEndOffset, position.LogicalDirection);
src\Framework\System\Windows\Documents\TextPointer.cs (3)
2590return ((ITextPointer)this).CreatePointer(0, this.LogicalDirection); 2603return ((ITextPointer)this).CreatePointer(offset, this.LogicalDirection); 2608return ((ITextPointer)this).CreatePointer(0, gravity);