26 references to IsFormattingType
PresentationFramework (26)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
825
!TextSchema.
IsFormattingType
(pointer.ParentType))
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1225
while (TextSchema.
IsFormattingType
( textPointer.GetElementType(dir)) )
src\Framework\System\Windows\Documents\Speller.cs (2)
1938
TextSchema.
IsFormattingType
(pointer.GetElementType(LogicalDirection.Forward)))
1943
TextSchema.
IsFormattingType
(pointer.ParentType))
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2048
while (TextSchema.
IsFormattingType
(position.ParentType))
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
277
if (TextSchema.
IsFormattingType
(position.GetElementType(direction)))
src\Framework\System\Windows\Documents\TextFindEngine.cs (4)
919
TextSchema.
IsFormattingType
(pointer.GetElementType(LogicalDirection.Forward)))
924
TextSchema.
IsFormattingType
(pointer.ParentType))
934
TextSchema.
IsFormattingType
(pointer.GetElementType(LogicalDirection.Backward)))
939
TextSchema.
IsFormattingType
(pointer.ParentType))
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1633
TextSchema.
IsFormattingType
(position.GetAdjacentElement(LogicalDirection.Backward).GetType()))
src\Framework\System\Windows\Documents\TextPointerBase.cs (6)
432
if (TextSchema.
IsFormattingType
(position.GetElementType(direction)))
435
while (TextSchema.
IsFormattingType
(position.GetElementType(direction)))
996
while (TextSchema.
IsFormattingType
(thisNavigator.GetElementType(direction)))
1021
while (TextSchema.
IsFormattingType
(thisNavigator.GetElementType(direction)))
1031
while (TextSchema.
IsFormattingType
(thisNavigator.GetElementType(LogicalDirection.Forward))
1545
if (!TextSchema.
IsFormattingType
(neighbor))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (6)
176
while (inline != null && inline.IsEmpty && !TextSchema.
IsFormattingType
(inline.GetType()))
200
((inline.NextInline != null && TextSchema.
IsFormattingType
(inline.NextInline.GetType())) ||
201
(inline.PreviousInline != null && TextSchema.
IsFormattingType
(inline.PreviousInline.GetType()))))
287
if (TextSchema.
IsFormattingType
(firstInline.GetType()) && firstInline.TextRange.IsEmpty)
292
else if (TextSchema.
IsFormattingType
(secondInline.GetType()) && secondInline.TextRange.IsEmpty)
2123
TextSchema.
IsFormattingType
(start.Parent.GetType())) // look for Run/Span elements
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1445
TextSchema.
IsFormattingType
(positionBeforeParagraph.Parent.GetType()))
src\Framework\System\Windows\Documents\TextSchema.cs (2)
279
return typeof(Inline).IsAssignableFrom(elementType) && !
IsFormattingType
(elementType);
284
return
IsFormattingType
(elementType) && !IsNonMergeableInline(elementType);