27 references to TextPointer
PresentationFramework (27)
MS\Internal\Documents\HostedElements.cs (2)
84_currentPosition = new TextPointer(_textSegments[0].Start as TextPointer); 129_currentPosition = new TextPointer(_textSegments[_currentTextSegment].Start as TextPointer);
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
333TextPointer elementEnd = new TextPointer(((TextElement)child).ElementEnd); 945elementPosition = new TextPointer((e as TextElement).ElementStart); 959TextPointer searchPosition = new TextPointer(_structuralCache.TextContainer.Start as TextPointer); 972elementPosition = new TextPointer(searchPosition);
System\Windows\Controls\AccessText.cs (2)
575TextPointer navigator = new TextPointer(TextContainer.Start); 620navigator = new TextPointer(TextContainer.Start);
System\Windows\Controls\TextBlock.cs (5)
414position = snapToText ? new TextPointer((TextPointer)_complexContent.TextContainer.Start) : null; 1773end = new TextPointer(((TextElement)child).ElementEnd); 1777end = new TextPointer(start); 3659position = new TextPointer((e as TextElement).ElementStart); 3665position = 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)
176_navigator = new TextPointer(_start);
System\Windows\Documents\TextEffectResolver.cs (2)
49TextPointer effectStart = new TextPointer(startPosition); 67TextPointer continuousTextEnd = new TextPointer(effectStart);
System\Windows\Documents\TextElementEnumerator.cs (1)
135_navigator = new TextPointer(_start);
System\Windows\Documents\TextPointer.cs (3)
318return new TextPointer(this); 1216TextPointer position = new TextPointer(this); 1614TextPointer position = new TextPointer(this);
System\Windows\Documents\TextRangeEdit.cs (4)
65splitPosition = new TextPointer(splitPosition); 530position = new TextPointer(position); 1606TextPointer previousPosition = new TextPointer(start); 1610TextPointer nextPosition = new TextPointer(start);