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