27 references to TextPointer
PresentationFramework (27)
src\Framework\MS\Internal\Documents\HostedElements.cs (2)
92
_currentPosition = new
TextPointer
(_textSegments[0].Start as TextPointer);
137
_currentPosition = new
TextPointer
(_textSegments[_currentTextSegment].Start as TextPointer);
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (4)
335
TextPointer elementEnd = new
TextPointer
(((TextElement)child).ElementEnd);
967
elementPosition = new
TextPointer
((e as TextElement).ElementStart);
981
TextPointer searchPosition = new
TextPointer
(_structuralCache.TextContainer.Start as TextPointer);
994
elementPosition = new
TextPointer
(searchPosition);
src\Framework\System\Windows\Controls\AccessText.cs (2)
575
TextPointer navigator = new
TextPointer
(TextContainer.Start);
621
navigator = new
TextPointer
(TextContainer.Start);
src\Framework\System\Windows\Controls\TextBlock.cs (5)
432
position = snapToText ? new
TextPointer
((TextPointer)_complexContent.TextContainer.Start) : null;
1861
end = new
TextPointer
(((TextElement)child).ElementEnd);
1865
end = new
TextPointer
(start);
3648
position = new
TextPointer
((e as TextElement).ElementStart);
3654
position = new
TextPointer
((TextPointer)_complexContent.TextContainer.Start);
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
969
TextPointer childStart = new
TextPointer
(_structuralCache.TextContainer.Start);
971
TextPointer childEnd = new
TextPointer
(childStart);
src\Framework\System\Windows\Documents\List.cs (1)
200
TextPointer textNav = new
TextPointer
(this.ContentStart);
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (1)
184
_navigator = new
TextPointer
(_start);
src\Framework\System\Windows\Documents\TextEffectResolver.cs (2)
58
TextPointer effectStart = new
TextPointer
(startPosition);
76
TextPointer continuousTextEnd = new
TextPointer
(effectStart);
src\Framework\System\Windows\Documents\TextElementEnumerator.cs (1)
141
_navigator = new
TextPointer
(_start);
src\Framework\System\Windows\Documents\TextPointer.cs (3)
326
return new
TextPointer
(this);
1227
TextPointer position = new
TextPointer
(this);
1628
TextPointer position = new
TextPointer
(this);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (4)
67
splitPosition = new
TextPointer
(splitPosition);
532
position = new
TextPointer
(position);
1608
TextPointer previousPosition = new
TextPointer
(start);
1612
TextPointer nextPosition = new
TextPointer
(start);