5 types derived from Inline
PresentationFramework (5)
src\Framework\System\Windows\Documents\AnchoredBlock.cs (1)
27public abstract class AnchoredBlock : Inline
src\Framework\System\Windows\Documents\InlineUIContainer.cs (1)
23public class InlineUIContainer : Inline
src\Framework\System\Windows\Documents\LineBreak.cs (1)
22public class LineBreak : Inline
src\Framework\System\Windows\Documents\Run.cs (1)
20public class Run : Inline
src\Framework\System\Windows\Documents\Span.cs (1)
20public class Span : Inline
198 references to Inline
PresentationFramework (198)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
1108else if (element is Inline) // Note this includes AnchoredBlocks - intentionally
src\Framework\MS\Internal\PtsHost\LineBase.cs (4)
196Inline inline = (Inline) element; 274Inline inline = (Inline) element;
src\Framework\MS\Internal\Text\ComplexLine.cs (4)
416Inline inline = element as Inline; 489Inline inline = element as Inline;
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (6)
118return GetCollectionValue(element, Inline.TextDecorationsProperty) as TextDecorationCollection; 281Inline i = element as Inline; 287i = i.Parent as Inline; 345if (!(element is Inline) || element is AnchoredBlock) 357if (element.GetValueSource(Inline.BaselineAlignmentProperty, null, out hasModifiers)
src\Framework\System\Windows\Controls\AccessText.cs (2)
271Inline.TextDecorationsProperty.AddOwner( 727Run run = Inline.CreateImplicitRun(this);
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
1089Inline inline; 1091if ((inline = content as Inline) != null) 1184else if (item is Inline)
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
488Inline firstInline = (firstBlock == null) ? null : ((Paragraph)firstBlock).Inlines.FirstInline;
src\Framework\System\Windows\Controls\TextBlock.cs (6)
172Invariant.Assert(value is Inline, "Schema validation helper must guarantee that invalid element is not passed here"); 180textContainer.InsertElementInternal(endPosition, endPosition, (Inline)value); 214Run implicitRun = Inline.CreateImplicitRun(this); 363public TextBlock(Inline inline) 953Inline.TextDecorationsProperty.AddOwner( 2937Run implicitRun = Inline.CreateImplicitRun(((TextPointer)position).Parent);
src\Framework\System\Windows\Controls\TextBox.cs (1)
961Inline.TextDecorationsProperty.AddOwner(
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (6)
379object decors = tp.GetValue(Inline.TextDecorationsProperty); 390object decors = tp.GetValue(Inline.TextDecorationsProperty); 401object decors = tp.GetValue(Inline.TextDecorationsProperty); 412object decors = tp.GetValue(Inline.TextDecorationsProperty); 445object decors = tp.GetValue(Inline.TextDecorationsProperty); 456object decors = tp.GetValue(Inline.TextDecorationsProperty);
src\Framework\System\Windows\Documents\Bold.cs (2)
56public Bold(Inline childInline) : base(childInline) 69public Bold(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (1)
64if (property == Inline.TextDecorationsProperty)
src\Framework\System\Windows\Documents\FixedElement.cs (1)
384return typeof(Inline);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
59/// inline content - elements deived from <see cref="Inline"/> class:
src\Framework\System\Windows\Documents\Hyperlink.cs (2)
74public Hyperlink(Inline childInline) : base(childInline) 87public Hyperlink(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
1584if (!navigator.GetElementType(LogicalDirection.Backward).IsSubclassOf(typeof(Inline))) 1635if (!navigator.GetElementType(LogicalDirection.Forward).IsSubclassOf(typeof(Inline)))
src\Framework\System\Windows\Documents\Inline.cs (7)
71public Inline NextInline 75return this.NextElement as Inline; 83public Inline PreviousInline 87return this.PreviousElement as Inline; 98typeof(Inline), 120typeof(Inline), 139FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Inline));
src\Framework\System\Windows\Documents\InlineCollection.cs (4)
22public class InlineCollection : TextElementCollection<Inline>, IList 124public Inline FirstInline 135public Inline LastInline 158internal override void ValidateChild(Inline child)
src\Framework\System\Windows\Documents\Italic.cs (2)
56public Italic(Inline childInline) : base(childInline) 69public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
src\Framework\System\Windows\Documents\Paragraph.cs (2)
53public Paragraph(Inline inline) 90Inline.TextDecorationsProperty.AddOwner(
src\Framework\System\Windows\Documents\Span.cs (3)
43public Span(Inline childInline) : this(childInline, null) 56public Span(Inline childInline, TextPointer insertionPosition) 130Inline nonMergeableAncestor;
src\Framework\System\windows\Documents\TextEditorCharacters.cs (4)
235object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(Inline.TextDecorationsProperty); 249TextEditorCharacters._OnApplyProperty(This, Inline.TextDecorationsProperty, toggledTextDecorations); 453TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft); 462TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
424while (position.GetAdjacentElement(LogicalDirection.Forward) is Inline)
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2451while (typeof(Inline).IsAssignableFrom(navigator.ParentType))
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
884typeof(Inline).IsAssignableFrom(navigator.ParentType))
src\Framework\System\Windows\Documents\TextElement.cs (2)
887InlineUIContainer implicitInlineUIContainer = Inline.CreateImplicitInlineUIContainer(this); 933Run implicitRun = Inline.CreateImplicitRun(this);
src\Framework\System\Windows\Documents\TextPointer.cs (9)
1446Inline ancestor = this.GetNonMergeableInlineAncestor(); 1739internal Inline GetNonMergeableInlineAncestor() 1741Inline ancestor = this.Parent as Inline; 1745ancestor = ancestor.Parent as Inline; 3567internal void InsertInline(Inline inline) 3856Inline ancestor = this.GetNonMergeableInlineAncestor(); 3899while (parentBlock is Inline && !(parentBlock is AnchoredBlock)) 3901parentBlock = ((Inline)parentBlock).Parent;
src\Framework\System\Windows\Documents\TextPointerBase.cs (9)
210typeof(Inline).IsAssignableFrom(backwardType) && !TextSchema.IsMergeableInline(backwardType) && !typeof(Run).IsAssignableFrom(forwardType) && 214typeof(Inline).IsAssignableFrom(forwardType) && !TextSchema.IsMergeableInline(forwardType) && !typeof(Run).IsAssignableFrom(backwardType) && 311return IsInAncestorScope(position, typeof(Inline), typeof(Hyperlink)); 370if (typeof(Inline).IsAssignableFrom(elementType) && !TextSchema.IsMergeableInline(elementType)) 599if (!typeof(Inline).IsAssignableFrom(elementType)) 732!typeof(Inline).IsAssignableFrom(thisPosition.GetElementType(LogicalDirection.Backward)); 1177!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(direction)) && 1185!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(oppositeDirection)) && 1500!typeof(Inline).IsAssignableFrom(position.ParentType))
src\Framework\System\Windows\Documents\TextRangeBase.cs (6)
366!typeof(Inline).IsAssignableFrom(navigator.GetElementType(direction)) // 371!typeof(Inline).IsAssignableFrom(navigator.ParentType)) 449if (formattingProperty != Inline.TextDecorationsProperty) 458while (value == null && (element is Inline || element is Paragraph || element is TextBlock)) 534while (typeof(Inline).IsAssignableFrom(startNavigator.ParentType)) 538while (typeof(Inline).IsAssignableFrom(endNavigator.ParentType))
src\Framework\System\Windows\Documents\TextRangeEdit.cs (71)
62Inline inline = (Inline)splitPosition.Parent; 91private static bool InheritablePropertiesAreEqual(Inline firstInline, Inline secondInline) 97DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(typeof(Inline)); 129private static bool CharacterPropertiesAreEqual(Inline firstElement, Inline secondElement) 170Inline inline = position.Parent as Inline; 180inline = position.Parent as Inline; 194inline = position.Parent as Inline; 205inline = position.Parent as Inline; 270position = ((Inline)position.Parent).ElementStart; 275position = ((Inline)position.Parent).ElementEnd; 279Inline firstInline, secondInline; 284(firstInline = position.GetAdjacentElement(LogicalDirection.Backward) as Inline) != null && 285(secondInline = position.GetAdjacentElement(LogicalDirection.Forward) as Inline) != null) 327Inline inline = position.Parent as Inline; 405inline = inline.Parent as Inline; 455else if (parent is Inline) 457ClearFormattingInlineProperties((Inline)parent); 471private static void ClearFormattingInlineProperties(Inline inline) 608Inline ancestor = position.GetNonMergeableInlineAncestor(); 930Inline firstChild = paragraph.Inlines.FirstInline; 931Inline lastChild = paragraph.Inlines.LastInline; 945Inline nextChild; 956nextChild = (Inline)lastChild.NextElement; 979firstChild = (Inline)start.GetAdjacentElement(LogicalDirection.Forward); 980lastChild = (Inline)end.GetAdjacentElement(LogicalDirection.Backward); 1015private static void SetStructuralPropertyOnInline(Inline inline, DependencyProperty property, object value) 1285position = ((Inline)position.Parent).ElementStart; 1290position = ((Inline)position.Parent).ElementEnd; 1305previousPosition = ((Inline)previousPosition.GetAdjacentElement(LogicalDirection.Backward)).ContentEnd; 1314nextPosition = ((Inline)nextPosition.GetAdjacentElement(LogicalDirection.Forward)).ContentStart; 1334Inline scopingPreviousInline = GetScopingFlowDirectionInline(previousRun); 1335Inline scopingNextInline = GetScopingFlowDirectionInline(nextRun); 1448if (parent is Inline || TextSchema.AllowsParagraphMerging(parent.GetType())) 1772((((Inline)splitPosition.Parent).Parent != null && !HasLocalInheritableStructuralPropertyValue((Inline)splitPosition.Parent)) || 1773(((Inline)splitPosition.Parent).Parent == null && !HasLocalStructuralPropertyValue((Inline)splitPosition.Parent))))) 1782private static void TransferStructuralProperties(Inline source, Inline destination) 1800private static bool HasWriteableLocalPropertyValues(Inline inline) 1814private static bool HasLocalInheritableStructuralPropertyValue(Inline inline) 1829private static bool HasLocalStructuralPropertyValue(Inline inline) 1844private static bool HasLocalPropertyValue(Inline inline, DependencyProperty property) 1857private static Inline GetScopingFlowDirectionInline(Run run) 1861Inline inline = run; 1958else if ((commonAncestor is Inline && !(commonAncestor is AnchoredBlock)) || 1975private static void FixupStructuralPropertyEnvironment(Inline inline, DependencyProperty property) 1981for (Inline searchInline = inline; searchInline != null; searchInline = searchInline.Parent as Span) 1983Inline previousSibling = (Inline)searchInline.PreviousElement; 1993for (Inline searchInline = inline; searchInline != null; searchInline = searchInline.Parent as Span) 1995Inline nextSibling = (Inline)searchInline.NextElement; 2005private static void FlattenStructuralProperties(Inline inline) 2021Inline child = (Inline)topmostSpan.Inlines.FirstInline; 2035private static void ClearParentStructuralPropertyValue(Inline child, DependencyProperty property) 2172Inline inline = (Inline)start.GetAdjacentElement(LogicalDirection.Forward); 2260if (!(commonAncestor is Inline)) 2265Inline nonMergeableAncestor = null; 2266Inline parent; 2269for (parent = (Inline)start.Parent; parent != commonAncestor; parent = (Inline)parent.Parent) 2280for (parent = (Inline)end.Parent; parent != commonAncestor; parent = (Inline)parent.Parent)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (3)
639if (ancestor is List || ancestor is Inline && !TextSchema.IsMergeableInline(ancestor.GetType())) 864position = ((Inline)parent).ElementStart; 877if (TextSchema.IsValidChild(/*position:*/position, /*childType:*/typeof(Inline)))
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (8)
673typeof(Inline).IsAssignableFrom(contextType) && !typeof(AnchoredBlock).IsAssignableFrom(contextType)) 873if (property == Inline.BaselineAlignmentProperty || property == TextElement.TextEffectsProperty) 881&& typeof(Inline).IsAssignableFrom(parentContext.ParentType)) 1344ValidateMergingPositions(typeof(Inline), fragmentStart, fragmentEnd); 1605ApplyContextualProperty(typeof(Inline), start, end, property, propertyEntry.Value); 1610ApplyContextualProperty(typeof(Inline), start, end, property, propertyEntry.Value); 1752typeof(Inline).IsAssignableFrom(commonAncestor.ParentType) && TextSchema.HasTextDecorations(commonAncestor.GetValue(Inline.TextDecorationsProperty)))
src\Framework\System\Windows\Documents\TextSchema.cs (14)
188if (typeof(Inline).IsAssignableFrom(newType)) 190return typeof(Inline).IsAssignableFrom(siblingType); 244Inline ancestor = element as Inline; 248ancestor = ancestor.Parent as Inline; 279return typeof(Inline).IsAssignableFrom(elementType) && !IsFormattingType(elementType); 824return typeof(Inline).IsAssignableFrom(childType) && 830return typeof(Inline).IsAssignableFrom(childType) && 839return typeof(Inline).IsAssignableFrom(childType); 963Inline.BaselineAlignmentProperty, 964Inline.TextDecorationsProperty, 977Inline.BaselineAlignmentProperty, 978Inline.TextDecorationsProperty, 1220Inline.FlowDirectionProperty,
src\Framework\System\windows\Documents\TextSelection.cs (3)
1454Inline ancestor = start.GetNonMergeableInlineAncestor(); 1483DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(typeof(Inline)); 1490while (element is Inline)
src\Framework\System\Windows\Documents\Underline.cs (2)
55public Underline(Inline childInline) : base(childInline) 68public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
382case 290: t = () => typeof(Inline); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5381typeof(System.Windows.Documents.Inline),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5834case KnownElements.Inline: t = typeof(System.Windows.Documents.Inline); break;