24 references to IsMergeableInline
PresentationFramework (24)
System\Windows\Documents\TextPointer.cs (1)
1729
while (ancestor != null && TextSchema.
IsMergeableInline
(ancestor.GetType()))
System\Windows\Documents\TextPointerBase.cs (7)
208
typeof(Inline).IsAssignableFrom(backwardType) && !TextSchema.
IsMergeableInline
(backwardType) && !typeof(Run).IsAssignableFrom(forwardType) &&
212
typeof(Inline).IsAssignableFrom(forwardType) && !TextSchema.
IsMergeableInline
(forwardType) && !typeof(Run).IsAssignableFrom(backwardType) &&
368
if (typeof(Inline).IsAssignableFrom(elementType) && !TextSchema.
IsMergeableInline
(elementType))
1208
while (TextSchema.
IsMergeableInline
(thisNavigator.GetElementType(direction)))
1219
TextSchema.
IsMergeableInline
(thisNavigator.GetElementType(oppositeDirection)))
1288
while (TextSchema.
IsMergeableInline
(thisNavigator.ParentType))
1499
else if (TextSchema.
IsMergeableInline
(position.ParentType))
System\Windows\Documents\TextRangeEdit.cs (15)
58
Invariant.Assert(splitPosition.Parent != null && TextSchema.
IsMergeableInline
(splitPosition.Parent.GetType()));
266
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
271
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
297
TextSchema.
IsMergeableInline
(firstInline.GetType()) && TextSchema.
IsMergeableInline
(secondInline.GetType())
330
TextSchema.
IsMergeableInline
(inline.Parent.GetType()) &&
1281
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
1286
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
1301
TextSchema.
IsMergeableInline
(previousPosition.GetAdjacentElement(LogicalDirection.Backward).GetType()))
1310
TextSchema.
IsMergeableInline
(nextPosition.GetAdjacentElement(LogicalDirection.Forward).GetType()))
1768
while (splitPosition.Parent != null && TextSchema.
IsMergeableInline
(splitPosition.Parent.GetType()) && splitPosition.Parent != limitingAncestor &&
2024
if (TextSchema.
IsMergeableInline
(topmostSpan.GetType()) && TextSchema.IsKnownType(topmostSpan.GetType()) && !HasWriteableLocalPropertyValues(topmostSpan))
2039
parent != null && TextSchema.
IsMergeableInline
(parent.GetType());
2269
if (!TextSchema.
IsMergeableInline
(parent.GetType()))
2280
if (!TextSchema.
IsMergeableInline
(parent.GetType()))
System\Windows\Documents\TextRangeEditTables.cs (1)
636
if (ancestor is List || ancestor is Inline && !TextSchema.
IsMergeableInline
(ancestor.GetType()))