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