5 implementations of CreateStaticPointer
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
322
StaticTextPointer ITextPointer.
CreateStaticPointer
()
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
184
StaticTextPointer ITextPointer.
CreateStaticPointer
()
System\Windows\Documents\FixedTextPointer.cs (1)
252
StaticTextPointer ITextPointer.
CreateStaticPointer
()
System\Windows\Documents\NullTextNavigator.cs (1)
172
StaticTextPointer ITextPointer.
CreateStaticPointer
()
System\Windows\Documents\TextPointer.cs (1)
2567
StaticTextPointer ITextPointer.
CreateStaticPointer
()
28 references to CreateStaticPointer
PresentationFramework (28)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
291
return dynamicPosition == null ? StaticTextPointer.Null : dynamicPosition.
CreateStaticPointer
();
MS\Internal\PtsHost\Line.cs (1)
220
StaticTextPointer pointer = position.
CreateStaticPointer
();
MS\Internal\PtsHost\OptimalTextSource.cs (1)
170
StaticTextPointer pointer = position.
CreateStaticPointer
();
MS\Internal\Text\ComplexLine.cs (1)
108
StaticTextPointer pointer = position.
CreateStaticPointer
();
System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
1008
parentPosition = parentTextPointer.
CreateStaticPointer
();
1045
parentTextPointer = childTp.
CreateStaticPointer
();
1054
parentTextPointer = childTp.
CreateStaticPointer
();
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
182
/// <see cref="ITextPointer.
CreateStaticPointer
"/>
System\Windows\Documents\FixedTextPointer.cs (1)
250
/// <see cref="ITextPointer.
CreateStaticPointer
"/>
System\Windows\Documents\Speller.cs (5)
120
_statusTable.IsRunType(position.
CreateStaticPointer
(), direction, SpellerStatusTable.RunType.Dirty))
127
_statusTable.GetError(position.
CreateStaticPointer
(), direction, out start, out end))
153
while (_statusTable.GetRun(position.
CreateStaticPointer
(), direction, out runType, out endPosition))
162
_statusTable.GetRun(position.
CreateStaticPointer
(), direction, out runType, out endPosition);
1334
nextErrorTransition = _statusTable.GetNextErrorTransition(position.
CreateStaticPointer
(), direction);
System\Windows\Documents\SpellerStatusTable.cs (10)
93
for (index = FindIndex(searchStart.
CreateStaticPointer
(), LogicalDirection.Forward); index >= 0 && index < _runList.Count; index++)
129
runIndex = FindIndex(start.
CreateStaticPointer
(), LogicalDirection.Forward);
207
transitionPosition = GetRun(i).Position.
CreateStaticPointer
();
217
transitionPosition = GetRun(index).Position.
CreateStaticPointer
();
280
end = (direction == LogicalDirection.Forward) ? GetRunEndPosition(index) : run.Position.
CreateStaticPointer
();
393
startIndex = FindIndex(start.
CreateStaticPointer
(), LogicalDirection.Forward);
394
endIndex = FindIndex(end.
CreateStaticPointer
(), LogicalDirection.Backward);
429
endIndex = FindIndex(end.
CreateStaticPointer
(), LogicalDirection.Backward);
594
index = FindIndex(position.
CreateStaticPointer
(), LogicalDirection.Backward);
763
position = GetRun(index + 1).Position.
CreateStaticPointer
();
System\windows\Documents\TextSelectionHighlightLayer.cs (4)
141
transitionPosition = textSegment.Start.
CreateStaticPointer
();
146
transitionPosition = textSegment.End.
CreateStaticPointer
();
162
transitionPosition = textSegment.End.
CreateStaticPointer
();
167
transitionPosition = textSegment.Start.
CreateStaticPointer
();