26 references to IsFormattingType
PresentationFramework (26)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
800!TextSchema.IsFormattingType(pointer.ParentType))
System\Windows\Documents\FixedTextView.cs (1)
1193while (TextSchema.IsFormattingType( textPointer.GetElementType(dir)) )
System\Windows\Documents\Speller.cs (2)
1802TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 1807TextSchema.IsFormattingType(pointer.ParentType))
System\windows\Documents\TextEditorSelection.cs (1)
2023while (TextSchema.IsFormattingType(position.ParentType))
System\windows\Documents\TextEditorSpelling.cs (1)
273if (TextSchema.IsFormattingType(position.GetElementType(direction)))
System\Windows\Documents\TextFindEngine.cs (4)
898TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 903TextSchema.IsFormattingType(pointer.ParentType)) 913TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Backward))) 918TextSchema.IsFormattingType(pointer.ParentType))
System\Windows\Documents\TextPointer.cs (1)
1613TextSchema.IsFormattingType(position.GetAdjacentElement(LogicalDirection.Backward).GetType()))
System\Windows\Documents\TextPointerBase.cs (6)
427if (TextSchema.IsFormattingType(position.GetElementType(direction))) 430while (TextSchema.IsFormattingType(position.GetElementType(direction))) 988while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1013while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1023while (TextSchema.IsFormattingType(thisNavigator.GetElementType(LogicalDirection.Forward)) 1537if (!TextSchema.IsFormattingType(neighbor))
System\Windows\Documents\TextRangeEdit.cs (6)
171while (inline != null && inline.IsEmpty && !TextSchema.IsFormattingType(inline.GetType())) 195((inline.NextInline != null && TextSchema.IsFormattingType(inline.NextInline.GetType())) || 196(inline.PreviousInline != null && TextSchema.IsFormattingType(inline.PreviousInline.GetType())))) 282if (TextSchema.IsFormattingType(firstInline.GetType()) && firstInline.TextRange.IsEmpty) 287else if (TextSchema.IsFormattingType(secondInline.GetType()) && secondInline.TextRange.IsEmpty) 2118TextSchema.IsFormattingType(start.Parent.GetType())) // look for Run/Span elements
System\Windows\Documents\TextRangeSerialization.cs (1)
1414TextSchema.IsFormattingType(positionBeforeParagraph.Parent.GetType()))
System\Windows\Documents\TextSchema.cs (2)
275return typeof(Inline).IsAssignableFrom(elementType) && !IsFormattingType(elementType); 280return IsFormattingType(elementType) && !IsNonMergeableInline(elementType);