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