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