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