5 implementations of GetElementType
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
247Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
130Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
165Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
122Type ITextPointer.GetElementType(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2414Type ITextPointer.GetElementType(LogicalDirection direction)
35 references to GetElementType
PresentationFramework (35)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1001Type elementType = cursor.GetElementType(LogicalDirection.Forward);
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
127/// <see cref="ITextPointer.GetElementType"/> 698/// <see cref="ITextPointer.GetElementType"/> 707return tp.ChildPointer.GetElementType(direction); 711/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\FixedTextPointer.cs (1)
162/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\FixedTextView.cs (1)
1213while (TextSchema.IsFormattingType( textPointer.GetElementType(dir)) )
System\Windows\Documents\ImmComposition.cs (2)
1437if (!navigator.GetElementType(LogicalDirection.Backward).IsSubclassOf(typeof(Inline))) 1488if (!navigator.GetElementType(LogicalDirection.Forward).IsSubclassOf(typeof(Inline)))
System\Windows\Documents\NullTextNavigator.cs (1)
119/// <see cref="ITextPointer.GetElementType"/>
System\Windows\Documents\Speller.cs (1)
1835TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward)))
System\windows\Documents\TextEditorSpelling.cs (1)
275if (TextSchema.IsFormattingType(position.GetElementType(direction)))
System\Windows\Documents\TextFindEngine.cs (2)
908TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 923TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Backward)))
System\Windows\Documents\TextPointerBase.cs (17)
184Type forwardType = forwardPosition.GetElementType(LogicalDirection.Forward); 185Type backwardType = backwardPosition.GetElementType(LogicalDirection.Backward); 259typeof(Table).IsAssignableFrom(position.GetElementType(LogicalDirection.Forward))); 338elementType = navigator.GetElementType(LogicalDirection.Forward); 359elementType = navigator.GetElementType(LogicalDirection.Forward); 430if (TextSchema.IsFormattingType(position.GetElementType(direction))) 433while (TextSchema.IsFormattingType(position.GetElementType(direction))) 596Type elementType = position.GetElementType(direction); 730!typeof(Inline).IsAssignableFrom(thisPosition.GetElementType(LogicalDirection.Backward)); 994while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1019while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1029while (TextSchema.IsFormattingType(thisNavigator.GetElementType(LogicalDirection.Forward)) 1175!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(direction)) && 1183!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(oppositeDirection)) && 1211while (TextSchema.IsMergeableInline(thisNavigator.GetElementType(direction))) 1222TextSchema.IsMergeableInline(thisNavigator.GetElementType(oppositeDirection))) 1526Type neighbor = thisPosition.GetElementType(direction);
System\Windows\Documents\TextRangeBase.cs (2)
355!typeof(Inline).IsAssignableFrom(navigator.GetElementType(direction)) // 715elementType = navigator.GetElementType(LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1881Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.GetElementType(LogicalDirection.Forward)));
System\windows\Documents\TextSelection.cs (1)
476TextSchema.IsBreak(caretPosition.GetElementType(LogicalDirection.Backward))))