24 references to IsMergeableInline
PresentationFramework (24)
System\Windows\Documents\TextPointer.cs (1)
1723
while (ancestor != null && TextSchema.
IsMergeableInline
(ancestor.GetType()))
System\Windows\Documents\TextPointerBase.cs (7)
205
typeof(Inline).IsAssignableFrom(backwardType) && !TextSchema.
IsMergeableInline
(backwardType) && !typeof(Run).IsAssignableFrom(forwardType) &&
209
typeof(Inline).IsAssignableFrom(forwardType) && !TextSchema.
IsMergeableInline
(forwardType) && !typeof(Run).IsAssignableFrom(backwardType) &&
365
if (typeof(Inline).IsAssignableFrom(elementType) && !TextSchema.
IsMergeableInline
(elementType))
1205
while (TextSchema.
IsMergeableInline
(thisNavigator.GetElementType(direction)))
1216
TextSchema.
IsMergeableInline
(thisNavigator.GetElementType(oppositeDirection)))
1285
while (TextSchema.
IsMergeableInline
(thisNavigator.ParentType))
1496
else if (TextSchema.
IsMergeableInline
(position.ParentType))
System\Windows\Documents\TextRangeEdit.cs (15)
55
Invariant.Assert(splitPosition.Parent != null && TextSchema.
IsMergeableInline
(splitPosition.Parent.GetType()));
263
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
268
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
294
TextSchema.
IsMergeableInline
(firstInline.GetType()) && TextSchema.
IsMergeableInline
(secondInline.GetType())
327
TextSchema.
IsMergeableInline
(inline.Parent.GetType()) &&
1278
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
1283
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
1298
TextSchema.
IsMergeableInline
(previousPosition.GetAdjacentElement(LogicalDirection.Backward).GetType()))
1307
TextSchema.
IsMergeableInline
(nextPosition.GetAdjacentElement(LogicalDirection.Forward).GetType()))
1765
while (splitPosition.Parent != null && TextSchema.
IsMergeableInline
(splitPosition.Parent.GetType()) && splitPosition.Parent != limitingAncestor &&
2021
if (TextSchema.
IsMergeableInline
(topmostSpan.GetType()) && TextSchema.IsKnownType(topmostSpan.GetType()) && !HasWriteableLocalPropertyValues(topmostSpan))
2036
parent != null && TextSchema.
IsMergeableInline
(parent.GetType());
2266
if (!TextSchema.
IsMergeableInline
(parent.GetType()))
2277
if (!TextSchema.
IsMergeableInline
(parent.GetType()))
System\Windows\Documents\TextRangeEditTables.cs (1)
633
if (ancestor is List || ancestor is Inline && !TextSchema.
IsMergeableInline
(ancestor.GetType()))