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