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