7 references to IsKnownType
PresentationFramework (7)
src\Framework\System\Windows\Documents\TextRangeEdit.cs (5)
297
else if (TextSchema.
IsKnownType
(firstInline.GetType()) && TextSchema.
IsKnownType
(secondInline.GetType()) &&
333
TextSchema.
IsKnownType
(inline.Parent.GetType()) &&
436
else if (parent is Span && TextSchema.
IsKnownType
(parent.GetType()))
2026
if (TextSchema.IsMergeableInline(topmostSpan.GetType()) && TextSchema.
IsKnownType
(topmostSpan.GetType()) && !HasWriteableLocalPropertyValues(topmostSpan))
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (2)
577
bool customTextElement = preserveTextElements && !TextSchema.
IsKnownType
(elementType);
984
!TextSchema.
IsKnownType
(locallySetProperty.OwnerType))