5 implementations of CreatePointer
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
354
ITextPointer ITextPointer.
CreatePointer
(int distance, LogicalDirection gravity)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
208
ITextPointer ITextPointer.
CreatePointer
(int distance, LogicalDirection gravity)
System\Windows\Documents\FixedTextPointer.cs (1)
276
ITextPointer ITextPointer.
CreatePointer
(int distance, LogicalDirection gravity)
System\Windows\Documents\NullTextNavigator.cs (1)
196
ITextPointer ITextPointer.
CreatePointer
(int distance, LogicalDirection gravity)
System\Windows\Documents\TextPointer.cs (1)
2585
ITextPointer ITextPointer.
CreatePointer
(int offset, LogicalDirection gravity)
31 references to CreatePointer
PresentationFramework (31)
MS\Internal\Documents\TextDocumentView.cs (1)
3290
segmentEnd = _textContainer.Start.
CreatePointer
(backgroundFormatInfo.CPInterrupted, LogicalDirection.Backward);
System\Windows\Controls\TextBlock.cs (3)
2157
pos = _complexContent.TextContainer.Start.
CreatePointer
(charIndex.FirstCharacterIndex + charIndex.TrailingLength, logicalDirection);
2564
ITextPointer nextCaretPosition = _complexContent.TextContainer.Start.
CreatePointer
(nextCharacterHit.FirstCharacterIndex + nextCharacterHit.TrailingLength, logicalDirection);
2652
ITextPointer backspaceCaretPosition = _complexContent.TextContainer.Start.
CreatePointer
(backspaceCharacterHit.FirstCharacterIndex + backspaceCharacterHit.TrailingLength, logicalDirection);
System\Windows\Documents\CompositionAdorner.cs (2)
485
ITextPointer start = _textView.TextContainer.Start.
CreatePointer
(_startOffset, LogicalDirection.Forward);
486
ITextPointer end = _textView.TextContainer.Start.
CreatePointer
(_endOffset, LogicalDirection.Backward);
System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
113
return ((ITextContainer)this).Start.
CreatePointer
(offset, direction);
System\Windows\Documents\DocumentSequenceTextPointer.cs (2)
206
/// <see cref="ITextPointer.
CreatePointer
(int,LogicalDirection)"/>
780
/// <see cref="ITextPointer.
CreatePointer
(int,LogicalDirection)"/>
System\Windows\Documents\FixedTextContainer.cs (1)
98
return ((ITextContainer)this).Start.
CreatePointer
(offset, direction);
System\Windows\Documents\FixedTextPointer.cs (4)
244
return ((ITextPointer)this).
CreatePointer
(0, ((ITextPointer)this).LogicalDirection);
262
return ((ITextPointer)this).
CreatePointer
(distance, ((ITextPointer)this).LogicalDirection);
270
return ((ITextPointer)this).
CreatePointer
(0, gravity);
274
/// <see cref="ITextPointer.
CreatePointer
(int,LogicalDirection)"/>
System\Windows\Documents\FlowDocument.cs (1)
1491
segmentEnd = args.ITextPosition.
CreatePointer
(args.Count, LogicalDirection.Forward);
System\Windows\Documents\ImmComposition.cs (5)
648
caretNavigator = _caretOffset > 0 ? _startComposition.
CreatePointer
(_caretOffset, LogicalDirection.Forward) : _endComposition;
1145
start = range.Start.
CreatePointer
(resultLength, LogicalDirection.Forward);
1149
ITextPointer caretPosition = _caretOffset >= 0 ? start.
CreatePointer
(_caretOffset, LogicalDirection.Forward) : end;
1188
ITextPointer startAttribute = _startComposition.
CreatePointer
(startOffset, LogicalDirection.Backward);
1189
ITextPointer endAttribute = _startComposition.
CreatePointer
(i + 1, LogicalDirection.Forward);
System\Windows\Documents\NullTextContainer.cs (1)
86
return ((ITextContainer)this).Start.
CreatePointer
(offset, direction);
System\Windows\Documents\NullTextNavigator.cs (4)
167
return ((ITextPointer)this).
CreatePointer
(0, _gravity);
182
return ((ITextPointer)this).
CreatePointer
(distance, _gravity);
190
return ((ITextPointer)this).
CreatePointer
(0, gravity);
194
/// <see cref="ITextPointer.
CreatePointer
(int,LogicalDirection)"/>
System\windows\Documents\TextEditorMouse.cs (1)
753
otherEdgePosition = otherEdgePosition.
CreatePointer
(0, otherEdgeDirection);
System\windows\Documents\TextEditorSpelling.cs (1)
149
caretPosition = textStart.
CreatePointer
(+correctedText.Length, LogicalDirection.Forward);
System\Windows\Documents\TextFindEngine.cs (1)
308
ITextPointer oppositeEndPosition = position.
CreatePointer
(oppositeEndOffset, position.LogicalDirection);
System\Windows\Documents\TextPointer.cs (3)
2564
return ((ITextPointer)this).
CreatePointer
(0, this.LogicalDirection);
2577
return ((ITextPointer)this).
CreatePointer
(offset, this.LogicalDirection);
2582
return ((ITextPointer)this).
CreatePointer
(0, gravity);