15 references to CreatePointerAtOffset
PresentationFramework (15)
MS\Internal\PtsHost\TextParaClient.cs (1)
2034
ITextPointer position = Paragraph.StructuralCache.TextContainer.
CreatePointerAtOffset
(Paragraph.ParagraphStartCharacterPosition + dcp, LogicalDirection.Forward);
MS\Internal\PtsHost\TextParagraph.cs (2)
583
StructuralCache.CurrentFormatContext.DependentMax = StructuralCache.TextContainer.
CreatePointerAtOffset
(dcpDependAbsolute, LogicalDirection.Backward);
767
StructuralCache.CurrentFormatContext.DependentMax = StructuralCache.TextContainer.
CreatePointerAtOffset
(dcpDependAbsolute, LogicalDirection.Backward);
System\Windows\Controls\FlowDocumentReader.cs (1)
2037
TextPointer contentPosition = textContainer.
CreatePointerAtOffset
(viewerState.ContentPosition, viewerState.ContentPositionDirection);
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1964
TextPointer contentPosition = textContainer.
CreatePointerAtOffset
(viewerState.ContentPosition, viewerState.ContentPositionDirection);
System\Windows\Controls\SinglePageViewer.cs (1)
1563
TextPointer contentPosition = textContainer.
CreatePointerAtOffset
(viewerState.ContentPosition, viewerState.ContentPositionDirection);
System\Windows\Controls\TextBox.cs (7)
159
TextPointer newStart = this.TextContainer.
CreatePointerAtOffset
(start, LogicalDirection.Forward);
262
TextPointer position = this.TextContainer.
CreatePointerAtOffset
(charIndex, LogicalDirection.Forward);
437
TextPointer textPointer = TextContainer.
CreatePointerAtOffset
(charIndex, LogicalDirection.Backward);
477
TextPointer position = this.TextContainer.
CreatePointerAtOffset
(charIndex, LogicalDirection.Forward);
482
position = this.TextContainer.
CreatePointerAtOffset
(charIndex + 1, LogicalDirection.Forward);
554
ITextPointer position = this.TextContainer.
CreatePointerAtOffset
(charIndex, direction);
853
TextPointer newStart = TextContainer.
CreatePointerAtOffset
(value, LogicalDirection.Forward);
System\Windows\Documents\TextContainer.cs (2)
431
return
CreatePointerAtOffset
(offset, direction);
475
return
CreatePointerAtOffset
(GetInternalOffset(position) - 1, direction);