5 implementations of GetElementType
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
243Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
122Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
158Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
117Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2409Type ITextPointer.GetElementType(LogicalDirection direction)
35 references to GetElementType
PresentationFramework (35)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
994Type elementType = cursor.GetElementType(LogicalDirection.Forward);
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
119/// <see cref="ITextPointer.GetElementType"/> 689/// <see cref="ITextPointer.GetElementType"/> 698return tp.ChildPointer.GetElementType(direction); 702/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\FixedTextPointer.cs (1)
155/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\FixedTextView.cs (1)
1200while (TextSchema.IsFormattingType( textPointer.GetElementType(dir)) )
System\Windows\Documents\ImmComposition.cs (2)
1416if (!navigator.GetElementType(LogicalDirection.Backward).IsSubclassOf(typeof(Inline))) 1467if (!navigator.GetElementType(LogicalDirection.Forward).IsSubclassOf(typeof(Inline)))
System\Windows\Documents\NullTextNavigator.cs (1)
114/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\Speller.cs (1)
1806TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward)))
System\windows\Documents\TextEditorSpelling.cs (1)
274if (TextSchema.IsFormattingType(position.GetElementType(direction)))
System\Windows\Documents\TextFindEngine.cs (2)
899TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 914TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Backward)))
System\Windows\Documents\TextPointerBase.cs (17)
182Type forwardType = forwardPosition.GetElementType(LogicalDirection.Forward); 183Type backwardType = backwardPosition.GetElementType(LogicalDirection.Backward); 257typeof(Table).IsAssignableFrom(position.GetElementType(LogicalDirection.Forward))); 336elementType = navigator.GetElementType(LogicalDirection.Forward); 357elementType = navigator.GetElementType(LogicalDirection.Forward); 428if (TextSchema.IsFormattingType(position.GetElementType(direction))) 431while (TextSchema.IsFormattingType(position.GetElementType(direction))) 594Type elementType = position.GetElementType(direction); 725!typeof(Inline).IsAssignableFrom(thisPosition.GetElementType(LogicalDirection.Backward)); 989while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1014while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1024while (TextSchema.IsFormattingType(thisNavigator.GetElementType(LogicalDirection.Forward)) 1170!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(direction)) && 1178!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(oppositeDirection)) && 1206while (TextSchema.IsMergeableInline(thisNavigator.GetElementType(direction))) 1217TextSchema.IsMergeableInline(thisNavigator.GetElementType(oppositeDirection))) 1521Type neighbor = thisPosition.GetElementType(direction);
System\Windows\Documents\TextRangeBase.cs (2)
352!typeof(Inline).IsAssignableFrom(navigator.GetElementType(direction)) // 712elementType = navigator.GetElementType(LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1875Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.GetElementType(LogicalDirection.Forward)));
System\windows\Documents\TextSelection.cs (1)
473TextSchema.IsBreak(caretPosition.GetElementType(LogicalDirection.Backward))))