15 references to CreatePointerAtOffset
PresentationFramework (15)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (1)
2254
ITextPointer position = Paragraph.StructuralCache.TextContainer.
CreatePointerAtOffset
(Paragraph.ParagraphStartCharacterPosition + dcp, LogicalDirection.Forward);
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
596
StructuralCache.CurrentFormatContext.DependentMax = StructuralCache.TextContainer.
CreatePointerAtOffset
(dcpDependAbsolute, LogicalDirection.Backward);
781
StructuralCache.CurrentFormatContext.DependentMax = StructuralCache.TextContainer.
CreatePointerAtOffset
(dcpDependAbsolute, LogicalDirection.Backward);
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (1)
2048
TextPointer contentPosition = textContainer.
CreatePointerAtOffset
(viewerState.ContentPosition, viewerState.ContentPositionDirection);
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1981
TextPointer contentPosition = textContainer.
CreatePointerAtOffset
(viewerState.ContentPosition, viewerState.ContentPositionDirection);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1573
TextPointer contentPosition = textContainer.
CreatePointerAtOffset
(viewerState.ContentPosition, viewerState.ContentPositionDirection);
src\Framework\System\Windows\Controls\TextBox.cs (7)
179
TextPointer newStart = this.TextContainer.
CreatePointerAtOffset
(start, LogicalDirection.Forward);
286
TextPointer position = this.TextContainer.
CreatePointerAtOffset
(charIndex, LogicalDirection.Forward);
469
TextPointer textPointer = TextContainer.
CreatePointerAtOffset
(charIndex, LogicalDirection.Backward);
511
TextPointer position = this.TextContainer.
CreatePointerAtOffset
(charIndex, LogicalDirection.Forward);
516
position = this.TextContainer.
CreatePointerAtOffset
(charIndex + 1, LogicalDirection.Forward);
590
ITextPointer position = this.TextContainer.
CreatePointerAtOffset
(charIndex, direction);
895
TextPointer newStart = TextContainer.
CreatePointerAtOffset
(value, LogicalDirection.Forward);
src\Framework\System\Windows\Documents\TextContainer.cs (2)
451
return
CreatePointerAtOffset
(offset, direction);
495
return
CreatePointerAtOffset
(GetInternalOffset(position) - 1, direction);