26 references to IsFormattingType
PresentationFramework (26)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
803!TextSchema.IsFormattingType(pointer.ParentType))
System\Windows\Documents\FixedTextView.cs (1)
1213while (TextSchema.IsFormattingType( textPointer.GetElementType(dir)) )
System\Windows\Documents\Speller.cs (2)
1835TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 1840TextSchema.IsFormattingType(pointer.ParentType))
System\windows\Documents\TextEditorSelection.cs (1)
2039while (TextSchema.IsFormattingType(position.ParentType))
System\windows\Documents\TextEditorSpelling.cs (1)
275if (TextSchema.IsFormattingType(position.GetElementType(direction)))
System\Windows\Documents\TextFindEngine.cs (4)
908TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Forward))) 913TextSchema.IsFormattingType(pointer.ParentType)) 923TextSchema.IsFormattingType(pointer.GetElementType(LogicalDirection.Backward))) 928TextSchema.IsFormattingType(pointer.ParentType))
System\Windows\Documents\TextPointer.cs (1)
1619TextSchema.IsFormattingType(position.GetAdjacentElement(LogicalDirection.Backward).GetType()))
System\Windows\Documents\TextPointerBase.cs (6)
430if (TextSchema.IsFormattingType(position.GetElementType(direction))) 433while (TextSchema.IsFormattingType(position.GetElementType(direction))) 994while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1019while (TextSchema.IsFormattingType(thisNavigator.GetElementType(direction))) 1029while (TextSchema.IsFormattingType(thisNavigator.GetElementType(LogicalDirection.Forward)) 1543if (!TextSchema.IsFormattingType(neighbor))
System\Windows\Documents\TextRangeEdit.cs (6)
174while (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())))) 285if (TextSchema.IsFormattingType(firstInline.GetType()) && firstInline.TextRange.IsEmpty) 290else if (TextSchema.IsFormattingType(secondInline.GetType()) && secondInline.TextRange.IsEmpty) 2121TextSchema.IsFormattingType(start.Parent.GetType())) // look for Run/Span elements
System\Windows\Documents\TextRangeSerialization.cs (1)
1421TextSchema.IsFormattingType(positionBeforeParagraph.Parent.GetType()))
System\Windows\Documents\TextSchema.cs (2)
277return typeof(Inline).IsAssignableFrom(elementType) && !IsFormattingType(elementType); 282return IsFormattingType(elementType) && !IsNonMergeableInline(elementType);