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