27 references to TextPointer
PresentationFramework (27)
MS\Internal\Documents\HostedElements.cs (2)
73_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 118_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer);
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
324TextPointer elementEnd = new TextPointer(((TextElement)child).ElementEnd); 930elementPosition = new TextPointer((e as TextElement).ElementStart); 944TextPointer searchPosition = new TextPointer(_structuralCache.TextContainer.Start as TextPointer); 957elementPosition = new TextPointer(searchPosition);
System\Windows\Controls\AccessText.cs (2)
574TextPointer navigator = new TextPointer(TextContainer.Start); 621navigator = new TextPointer(TextContainer.Start);
System\Windows\Controls\TextBlock.cs (5)
401position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.Start) : null; 1754end = new TextPointer(((TextElement)child).ElementEnd); 1758end = new TextPointer(start); 3639position = new TextPointer((e as TextElement).ElementStart); 3645position = new TextPointer((TextPointer)_complexContent.TextContainer.Start);
System\Windows\Documents\FlowDocument.cs (2)
957TextPointer childStart = new TextPointer(_structuralCache.TextContainer.Start); 959TextPointer childEnd = new TextPointer(childStart);
System\Windows\Documents\List.cs (1)
189TextPointer textNav = new TextPointer(this.ContentStart);
System\Windows\Documents\RangeContentEnumerator.cs (1)
165_navigator = new TextPointer(_start);
System\Windows\Documents\TextEffectResolver.cs (2)
44TextPointer effectStart = new TextPointer(startPosition); 62TextPointer continuousTextEnd = new TextPointer(effectStart);
System\Windows\Documents\TextElementEnumerator.cs (1)
124_navigator = new TextPointer(_start);
System\Windows\Documents\TextPointer.cs (3)
312return new TextPointer(this); 1210TextPointer position = new TextPointer(this); 1608TextPointer position = new TextPointer(this);
System\Windows\Documents\TextRangeEdit.cs (4)
62splitPosition = new TextPointer(splitPosition); 527position = new TextPointer(position); 1603TextPointer previousPosition = new TextPointer(start); 1607TextPointer nextPosition = new TextPointer(start);