26 references to IsFormattingType
PresentationFramework (26)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
803
!TextSchema.
IsFormattingType
(pointer.ParentType))
System\Windows\Documents\FixedTextView.cs (1)
1213
while (TextSchema.
IsFormattingType
( textPointer.GetElementType(dir)) )
System\Windows\Documents\Speller.cs (2)
1810
TextSchema.
IsFormattingType
(pointer.GetElementType(LogicalDirection.Forward)))
1815
TextSchema.
IsFormattingType
(pointer.ParentType))
System\windows\Documents\TextEditorSelection.cs (1)
2039
while (TextSchema.
IsFormattingType
(position.ParentType))
System\windows\Documents\TextEditorSpelling.cs (1)
275
if (TextSchema.
IsFormattingType
(position.GetElementType(direction)))
System\Windows\Documents\TextFindEngine.cs (4)
908
TextSchema.
IsFormattingType
(pointer.GetElementType(LogicalDirection.Forward)))
913
TextSchema.
IsFormattingType
(pointer.ParentType))
923
TextSchema.
IsFormattingType
(pointer.GetElementType(LogicalDirection.Backward)))
928
TextSchema.
IsFormattingType
(pointer.ParentType))
System\Windows\Documents\TextPointer.cs (1)
1619
TextSchema.
IsFormattingType
(position.GetAdjacentElement(LogicalDirection.Backward).GetType()))
System\Windows\Documents\TextPointerBase.cs (6)
430
if (TextSchema.
IsFormattingType
(position.GetElementType(direction)))
433
while (TextSchema.
IsFormattingType
(position.GetElementType(direction)))
991
while (TextSchema.
IsFormattingType
(thisNavigator.GetElementType(direction)))
1016
while (TextSchema.
IsFormattingType
(thisNavigator.GetElementType(direction)))
1026
while (TextSchema.
IsFormattingType
(thisNavigator.GetElementType(LogicalDirection.Forward))
1540
if (!TextSchema.
IsFormattingType
(neighbor))
System\Windows\Documents\TextRangeEdit.cs (6)
174
while (inline != null && inline.IsEmpty && !TextSchema.
IsFormattingType
(inline.GetType()))
198
((inline.NextInline != null && TextSchema.
IsFormattingType
(inline.NextInline.GetType())) ||
199
(inline.PreviousInline != null && TextSchema.
IsFormattingType
(inline.PreviousInline.GetType()))))
285
if (TextSchema.
IsFormattingType
(firstInline.GetType()) && firstInline.TextRange.IsEmpty)
290
else if (TextSchema.
IsFormattingType
(secondInline.GetType()) && secondInline.TextRange.IsEmpty)
2121
TextSchema.
IsFormattingType
(start.Parent.GetType())) // look for Run/Span elements
System\Windows\Documents\TextRangeSerialization.cs (1)
1421
TextSchema.
IsFormattingType
(positionBeforeParagraph.Parent.GetType()))
System\Windows\Documents\TextSchema.cs (2)
277
return typeof(Inline).IsAssignableFrom(elementType) && !
IsFormattingType
(elementType);
282
return
IsFormattingType
(elementType) && !IsNonMergeableInline(elementType);