27 references to TextPointer
PresentationFramework (27)
MS\Internal\Documents\HostedElements.cs (2)
80_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 125_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer);
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
325TextPointer elementEnd = new TextPointer(((TextElement)child).ElementEnd); 937elementPosition = new TextPointer((e as TextElement).ElementStart); 951TextPointer searchPosition = new TextPointer(_structuralCache.TextContainer.Start as TextPointer); 964elementPosition = new TextPointer(searchPosition);
System\Windows\Controls\AccessText.cs (2)
573TextPointer navigator = new TextPointer(TextContainer.Start); 618navigator = new TextPointer(TextContainer.Start);
System\Windows\Controls\TextBlock.cs (5)
404position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.Start) : null; 1763end = new TextPointer(((TextElement)child).ElementEnd); 1767end = new TextPointer(start); 3649position = new TextPointer((e as TextElement).ElementStart); 3655position = new TextPointer((TextPointer)_complexContent.TextContainer.Start);
System\Windows\Documents\FlowDocument.cs (2)
961TextPointer childStart = new TextPointer(_structuralCache.TextContainer.Start); 963TextPointer childEnd = new TextPointer(childStart);
System\Windows\Documents\List.cs (1)
190TextPointer textNav = new TextPointer(this.ContentStart);
System\Windows\Documents\RangeContentEnumerator.cs (1)
172_navigator = new TextPointer(_start);
System\Windows\Documents\TextEffectResolver.cs (2)
45TextPointer effectStart = new TextPointer(startPosition); 63TextPointer continuousTextEnd = new TextPointer(effectStart);
System\Windows\Documents\TextElementEnumerator.cs (1)
129_navigator = new TextPointer(_start);
System\Windows\Documents\TextPointer.cs (3)
313return new TextPointer(this); 1211TextPointer position = new TextPointer(this); 1609TextPointer position = new TextPointer(this);
System\Windows\Documents\TextRangeEdit.cs (4)
63splitPosition = new TextPointer(splitPosition); 528position = new TextPointer(position); 1604TextPointer previousPosition = new TextPointer(start); 1608TextPointer nextPosition = new TextPointer(start);