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