5 implementations of GetElementType
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
247
Type ITextPointer.
GetElementType
(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
130
Type ITextPointer.
GetElementType
(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
165
Type ITextPointer.
GetElementType
(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
122
Type ITextPointer.
GetElementType
(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2414
Type ITextPointer.
GetElementType
(LogicalDirection direction)
35 references to GetElementType
PresentationFramework (35)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (1)
1001
Type elementType = cursor.
GetElementType
(LogicalDirection.Forward);
System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
127
/// <see cref="ITextPointer.
GetElementType
"/>
698
/// <see cref="ITextPointer.
GetElementType
"/>
707
return 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)
1213
while (TextSchema.IsFormattingType( textPointer.
GetElementType
(dir)) )
System\Windows\Documents\ImmComposition.cs (2)
1437
if (!navigator.
GetElementType
(LogicalDirection.Backward).IsSubclassOf(typeof(Inline)))
1488
if (!navigator.
GetElementType
(LogicalDirection.Forward).IsSubclassOf(typeof(Inline)))
System\Windows\Documents\NullTextNavigator.cs (1)
119
/// <see cref="ITextPointer.
GetElementType
"/>
System\Windows\Documents\Speller.cs (1)
1810
TextSchema.IsFormattingType(pointer.
GetElementType
(LogicalDirection.Forward)))
System\windows\Documents\TextEditorSpelling.cs (1)
275
if (TextSchema.IsFormattingType(position.
GetElementType
(direction)))
System\Windows\Documents\TextFindEngine.cs (2)
908
TextSchema.IsFormattingType(pointer.
GetElementType
(LogicalDirection.Forward)))
923
TextSchema.IsFormattingType(pointer.
GetElementType
(LogicalDirection.Backward)))
System\Windows\Documents\TextPointerBase.cs (17)
184
Type forwardType = forwardPosition.
GetElementType
(LogicalDirection.Forward);
185
Type backwardType = backwardPosition.
GetElementType
(LogicalDirection.Backward);
259
typeof(Table).IsAssignableFrom(position.
GetElementType
(LogicalDirection.Forward)));
338
elementType = navigator.
GetElementType
(LogicalDirection.Forward);
359
elementType = navigator.
GetElementType
(LogicalDirection.Forward);
430
if (TextSchema.IsFormattingType(position.
GetElementType
(direction)))
433
while (TextSchema.IsFormattingType(position.
GetElementType
(direction)))
596
Type elementType = position.
GetElementType
(direction);
727
!typeof(Inline).IsAssignableFrom(thisPosition.
GetElementType
(LogicalDirection.Backward));
991
while (TextSchema.IsFormattingType(thisNavigator.
GetElementType
(direction)))
1016
while (TextSchema.IsFormattingType(thisNavigator.
GetElementType
(direction)))
1026
while (TextSchema.IsFormattingType(thisNavigator.
GetElementType
(LogicalDirection.Forward))
1172
!typeof(Inline).IsAssignableFrom(thisNavigator.
GetElementType
(direction)) &&
1180
!typeof(Inline).IsAssignableFrom(thisNavigator.
GetElementType
(oppositeDirection)) &&
1208
while (TextSchema.IsMergeableInline(thisNavigator.
GetElementType
(direction)))
1219
TextSchema.IsMergeableInline(thisNavigator.
GetElementType
(oppositeDirection)))
1523
Type neighbor = thisPosition.
GetElementType
(direction);
System\Windows\Documents\TextRangeBase.cs (2)
355
!typeof(Inline).IsAssignableFrom(navigator.
GetElementType
(direction)) //
715
elementType = navigator.
GetElementType
(LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1881
Invariant.Assert(typeof(Hyperlink).IsAssignableFrom(textReader.
GetElementType
(LogicalDirection.Forward)));
System\windows\Documents\TextSelection.cs (1)
476
TextSchema.IsBreak(caretPosition.
GetElementType
(LogicalDirection.Backward))))