24 references to IsMergeableInline
PresentationFramework (24)
System\Windows\Documents\TextPointer.cs (1)
1724while (ancestor != null && TextSchema.IsMergeableInline(ancestor.GetType()))
System\Windows\Documents\TextPointerBase.cs (7)
206typeof(Inline).IsAssignableFrom(backwardType) && !TextSchema.IsMergeableInline(backwardType) && !typeof(Run).IsAssignableFrom(forwardType) && 210typeof(Inline).IsAssignableFrom(forwardType) && !TextSchema.IsMergeableInline(forwardType) && !typeof(Run).IsAssignableFrom(backwardType) && 366if (typeof(Inline).IsAssignableFrom(elementType) && !TextSchema.IsMergeableInline(elementType)) 1206while (TextSchema.IsMergeableInline(thisNavigator.GetElementType(direction))) 1217TextSchema.IsMergeableInline(thisNavigator.GetElementType(oppositeDirection))) 1286while (TextSchema.IsMergeableInline(thisNavigator.ParentType)) 1497else if (TextSchema.IsMergeableInline(position.ParentType))
System\Windows\Documents\TextRangeEdit.cs (15)
56Invariant.Assert(splitPosition.Parent != null && TextSchema.IsMergeableInline(splitPosition.Parent.GetType())); 264TextSchema.IsMergeableInline(position.Parent.GetType())) 269TextSchema.IsMergeableInline(position.Parent.GetType())) 295TextSchema.IsMergeableInline(firstInline.GetType()) && TextSchema.IsMergeableInline(secondInline.GetType()) 328TextSchema.IsMergeableInline(inline.Parent.GetType()) && 1279TextSchema.IsMergeableInline(position.Parent.GetType())) 1284TextSchema.IsMergeableInline(position.Parent.GetType())) 1299TextSchema.IsMergeableInline(previousPosition.GetAdjacentElement(LogicalDirection.Backward).GetType())) 1308TextSchema.IsMergeableInline(nextPosition.GetAdjacentElement(LogicalDirection.Forward).GetType())) 1766while (splitPosition.Parent != null && TextSchema.IsMergeableInline(splitPosition.Parent.GetType()) && splitPosition.Parent != limitingAncestor && 2022if (TextSchema.IsMergeableInline(topmostSpan.GetType()) && TextSchema.IsKnownType(topmostSpan.GetType()) && !HasWriteableLocalPropertyValues(topmostSpan)) 2037parent != null && TextSchema.IsMergeableInline(parent.GetType()); 2267if (!TextSchema.IsMergeableInline(parent.GetType())) 2278if (!TextSchema.IsMergeableInline(parent.GetType()))
System\Windows\Documents\TextRangeEditTables.cs (1)
634if (ancestor is List || ancestor is Inline && !TextSchema.IsMergeableInline(ancestor.GetType()))