5 implementations of GetElementType
PresentationFramework (5)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
249Type ITextPointer.GetElementType(LogicalDirection direction)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
134Type ITextPointer.GetElementType(LogicalDirection direction)
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
174Type ITextPointer.GetElementType(LogicalDirection direction)
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
124Type ITextPointer.GetElementType(LogicalDirection direction)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2434Type ITextPointer.GetElementType(LogicalDirection direction)
35 references to GetElementType
PresentationFramework (35)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1018Type elementType = cursor.GetElementType(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
131/// <see cref="ITextPointer.GetElementType"/> 705/// <see cref="ITextPointer.GetElementType"/> 714return tp.ChildPointer.GetElementType(direction); 718/// <see cref="ITextPointer.GetElementType"/>
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
171/// <see cref="ITextPointer.GetElementType"/>
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1225while (TextSchema.IsFormattingType( textPointer.GetElementType(dir)) )
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
1584if (!navigator.GetElementType(LogicalDirection.Backward).IsSubclassOf(typeof(Inline))) 1635if (!navigator.GetElementType(LogicalDirection.Forward).IsSubclassOf(typeof(Inline)))
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
121/// <see cref="ITextPointer.GetElementType"/>
src\Framework\System\Windows\Documents\Speller.cs (1)
1938TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward)))
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
277if (TextSchema.IsFormattingType(position.GetElementType(direction)))
src\Framework\System\Windows\Documents\TextFindEngine.cs (2)
919TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 934TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Backward)))
src\Framework\System\Windows\Documents\TextPointerBase.cs (17)
186Type forwardType = forwardPosition.GetElementType(LogicalDirection.Forward); 187Type backwardType = backwardPosition.GetElementType(LogicalDirection.Backward); 261typeof(Table).IsAssignableFrom(position.GetElementType(LogicalDirection.Forward))); 340elementType = navigator.GetElementType(LogicalDirection.Forward); 361elementType = navigator.GetElementType(LogicalDirection.Forward); 432if (TextSchema.IsFormattingType(position.GetElementType(direction))) 435while (TextSchema.IsFormattingType(position.GetElementType(direction))) 598Type elementType = position.GetElementType(direction); 732!typeof(Inline).IsAssignableFrom(thisPosition.GetElementType(LogicalDirection.Backward)); 996while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1021while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1031while (TextSchema.IsFormattingType(thisNavigator.GetElementType(LogicalDirection.Forward)) 1177!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(direction)) && 1185!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(oppositeDirection)) && 1213while (TextSchema.IsMergeableInline(thisNavigator.GetElementType(direction))) 1224TextSchema.IsMergeableInline(thisNavigator.GetElementType(oppositeDirection))) 1528Type neighbor = thisPosition.GetElementType(direction);
src\Framework\System\Windows\Documents\TextRangeBase.cs (2)
366!typeof(Inline).IsAssignableFrom(navigator.GetElementType(direction)) // 726elementType = navigator.GetElementType(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1901Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.GetElementType(LogicalDirection.Forward)));
src\Framework\System\windows\Documents\TextSelection.cs (1)
479TextSchema.IsBreak(caretPosition.GetElementType(LogicalDirection.Backward))))