24 references to IsMergeableInline
PresentationFramework (24)
src\Framework\System\Windows\Documents\TextPointer.cs (1)
1743
while (ancestor != null && TextSchema.
IsMergeableInline
(ancestor.GetType()))
src\Framework\System\Windows\Documents\TextPointerBase.cs (7)
210
typeof(Inline).IsAssignableFrom(backwardType) && !TextSchema.
IsMergeableInline
(backwardType) && !typeof(Run).IsAssignableFrom(forwardType) &&
214
typeof(Inline).IsAssignableFrom(forwardType) && !TextSchema.
IsMergeableInline
(forwardType) && !typeof(Run).IsAssignableFrom(backwardType) &&
370
if (typeof(Inline).IsAssignableFrom(elementType) && !TextSchema.
IsMergeableInline
(elementType))
1213
while (TextSchema.
IsMergeableInline
(thisNavigator.GetElementType(direction)))
1224
TextSchema.
IsMergeableInline
(thisNavigator.GetElementType(oppositeDirection)))
1293
while (TextSchema.
IsMergeableInline
(thisNavigator.ParentType))
1504
else if (TextSchema.
IsMergeableInline
(position.ParentType))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (15)
60
Invariant.Assert(splitPosition.Parent != null && TextSchema.
IsMergeableInline
(splitPosition.Parent.GetType()));
268
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
273
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
299
TextSchema.
IsMergeableInline
(firstInline.GetType()) && TextSchema.
IsMergeableInline
(secondInline.GetType())
332
TextSchema.
IsMergeableInline
(inline.Parent.GetType()) &&
1283
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
1288
TextSchema.
IsMergeableInline
(position.Parent.GetType()))
1303
TextSchema.
IsMergeableInline
(previousPosition.GetAdjacentElement(LogicalDirection.Backward).GetType()))
1312
TextSchema.
IsMergeableInline
(nextPosition.GetAdjacentElement(LogicalDirection.Forward).GetType()))
1770
while (splitPosition.Parent != null && TextSchema.
IsMergeableInline
(splitPosition.Parent.GetType()) && splitPosition.Parent != limitingAncestor &&
2026
if (TextSchema.
IsMergeableInline
(topmostSpan.GetType()) && TextSchema.IsKnownType(topmostSpan.GetType()) && !HasWriteableLocalPropertyValues(topmostSpan))
2041
parent != null && TextSchema.
IsMergeableInline
(parent.GetType());
2271
if (!TextSchema.
IsMergeableInline
(parent.GetType()))
2282
if (!TextSchema.
IsMergeableInline
(parent.GetType()))
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
639
if (ancestor is List || ancestor is Inline && !TextSchema.
IsMergeableInline
(ancestor.GetType()))