5 implementations of GetElementType
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
242Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
121Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
157Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
116Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2408Type ITextPointer.GetElementType(LogicalDirection direction)
35 references to GetElementType
PresentationFramework (35)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
990Type elementType = cursor.GetElementType(LogicalDirection.Forward);
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
118/// <see cref="ITextPointer.GetElementType"/> 688/// <see cref="ITextPointer.GetElementType"/> 697return tp.ChildPointer.GetElementType(direction); 701/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\FixedTextPointer.cs (1)
154/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\FixedTextView.cs (1)
1193while (TextSchema.IsFormattingType( textPointer.GetElementType(dir)) )
System\Windows\Documents\ImmComposition.cs (2)
1415if (!navigator.GetElementType(LogicalDirection.Backward).IsSubclassOf(typeof(Inline))) 1466if (!navigator.GetElementType(LogicalDirection.Forward).IsSubclassOf(typeof(Inline)))
System\Windows\Documents\NullTextNavigator.cs (1)
113/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\Speller.cs (1)
1802TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward)))
System\windows\Documents\TextEditorSpelling.cs (1)
273if (TextSchema.IsFormattingType(position.GetElementType(direction)))
System\Windows\Documents\TextFindEngine.cs (2)
898TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 913TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Backward)))
System\Windows\Documents\TextPointerBase.cs (17)
181Type forwardType = forwardPosition.GetElementType(LogicalDirection.Forward); 182Type backwardType = backwardPosition.GetElementType(LogicalDirection.Backward); 256typeof(Table).IsAssignableFrom(position.GetElementType(LogicalDirection.Forward))); 335elementType = navigator.GetElementType(LogicalDirection.Forward); 356elementType = navigator.GetElementType(LogicalDirection.Forward); 427if (TextSchema.IsFormattingType(position.GetElementType(direction))) 430while (TextSchema.IsFormattingType(position.GetElementType(direction))) 593Type elementType = position.GetElementType(direction); 724!typeof(Inline).IsAssignableFrom(thisPosition.GetElementType(LogicalDirection.Backward)); 988while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1013while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1023while (TextSchema.IsFormattingType(thisNavigator.GetElementType(LogicalDirection.Forward)) 1169!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(direction)) && 1177!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(oppositeDirection)) && 1205while (TextSchema.IsMergeableInline(thisNavigator.GetElementType(direction))) 1216TextSchema.IsMergeableInline(thisNavigator.GetElementType(oppositeDirection))) 1520Type neighbor = thisPosition.GetElementType(direction);
System\Windows\Documents\TextRangeBase.cs (2)
351!typeof(Inline).IsAssignableFrom(navigator.GetElementType(direction)) // 711elementType = navigator.GetElementType(LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1874Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.GetElementType(LogicalDirection.Forward)));
System\windows\Documents\TextSelection.cs (1)
460TextSchema.IsBreak(caretPosition.GetElementType(LogicalDirection.Backward))))