26 references to IsFormattingType
PresentationFramework (26)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
797!TextSchema.IsFormattingType(pointer.ParentType))
System\Windows\Documents\FixedTextView.cs (1)
1205while (TextSchema.IsFormattingType( textPointer.GetElementType(dir)) )
System\Windows\Documents\Speller.cs (2)
1806TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 1811TextSchema.IsFormattingType(pointer.ParentType))
System\windows\Documents\TextEditorSelection.cs (1)
2024while (TextSchema.IsFormattingType(position.ParentType))
System\windows\Documents\TextEditorSpelling.cs (1)
274if (TextSchema.IsFormattingType(position.GetElementType(direction)))
System\Windows\Documents\TextFindEngine.cs (4)
900TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 905TextSchema.IsFormattingType(pointer.ParentType)) 915TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Backward))) 920TextSchema.IsFormattingType(pointer.ParentType))
System\Windows\Documents\TextPointer.cs (1)
1614TextSchema.IsFormattingType(position.GetAdjacentElement(LogicalDirection.Backward).GetType()))
System\Windows\Documents\TextPointerBase.cs (6)
428if (TextSchema.IsFormattingType(position.GetElementType(direction))) 431while (TextSchema.IsFormattingType(position.GetElementType(direction))) 989while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1014while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1024while (TextSchema.IsFormattingType(thisNavigator.GetElementType(LogicalDirection.Forward)) 1538if (!TextSchema.IsFormattingType(neighbor))
System\Windows\Documents\TextRangeEdit.cs (6)
172while (inline != null && inline.IsEmpty && !TextSchema.IsFormattingType(inline.GetType())) 196((inline.NextInline != null && TextSchema.IsFormattingType(inline.NextInline.GetType())) || 197(inline.PreviousInline != null && TextSchema.IsFormattingType(inline.PreviousInline.GetType())))) 283if (TextSchema.IsFormattingType(firstInline.GetType()) && firstInline.TextRange.IsEmpty) 288else if (TextSchema.IsFormattingType(secondInline.GetType()) && secondInline.TextRange.IsEmpty) 2119TextSchema.IsFormattingType(start.Parent.GetType())) // look for Run/Span elements
System\Windows\Documents\TextRangeSerialization.cs (1)
1415TextSchema.IsFormattingType(positionBeforeParagraph.Parent.GetType()))
System\Windows\Documents\TextSchema.cs (2)
276return typeof(Inline).IsAssignableFrom(elementType) && !IsFormattingType(elementType); 281return IsFormattingType(elementType) && !IsNonMergeableInline(elementType);