5 types derived from Inline
PresentationFramework (5)
System\Windows\Documents\AnchoredBlock.cs (1)
27public abstract class AnchoredBlock : Inline
System\Windows\Documents\InlineUIContainer.cs (1)
23public class InlineUIContainer : Inline
System\Windows\Documents\LineBreak.cs (1)
17public class LineBreak : Inline
System\Windows\Documents\Run.cs (1)
20public class Run : Inline
System\Windows\Documents\Span.cs (1)
20public class Span : Inline
198 references to Inline
PresentationFramework (198)
MS\Internal\PtsHost\ContainerParagraph.cs (1)
1082else if (element is Inline) // Note this includes AnchoredBlocks - intentionally
MS\Internal\PtsHost\LineBase.cs (4)
191Inline inline = (Inline) element; 269Inline inline = (Inline) element;
MS\Internal\Text\ComplexLine.cs (4)
410Inline inline = element as Inline; 483Inline inline = element as Inline;
MS\Internal\Text\DynamicPropertyReader.cs (6)
115return GetCollectionValue(element, Inline.TextDecorationsProperty) as TextDecorationCollection; 278Inline i = element as Inline; 284i = i.Parent as Inline; 342if (!(element is Inline) || element is AnchoredBlock) 354if (element.GetValueSource(Inline.BaselineAlignmentProperty, null, out hasModifiers)
System\Windows\Controls\AccessText.cs (2)
271Inline.TextDecorationsProperty.AddOwner( 725Run run = Inline.CreateImplicitRun(this);
System\Windows\Controls\ContentPresenter.cs (3)
1086Inline inline; 1088if ((inline = content as Inline) != null) 1181else if (item is Inline)
System\Windows\Controls\RichTextBox.cs (1)
477Inline firstInline = (firstBlock == null) ? null : ((Paragraph)firstBlock).Inlines.FirstInline;
System\Windows\Controls\TextBlock.cs (6)
163Invariant.Assert(value is Inline, "Schema validation helper must guarantee that invalid element is not passed here"); 171textContainer.InsertElementInternal(endPosition, endPosition, (Inline)value); 202Run implicitRun = Inline.CreateImplicitRun(this); 348public TextBlock(Inline inline) 893Inline.TextDecorationsProperty.AddOwner( 2848Run implicitRun = Inline.CreateImplicitRun(((TextPointer)position).Parent);
System\Windows\Controls\TextBox.cs (1)
926Inline.TextDecorationsProperty.AddOwner(
System\Windows\Controls\TextRangeAdaptor.cs (6)
371object decors = tp.GetValue(Inline.TextDecorationsProperty); 382object decors = tp.GetValue(Inline.TextDecorationsProperty); 393object decors = tp.GetValue(Inline.TextDecorationsProperty); 404object decors = tp.GetValue(Inline.TextDecorationsProperty); 437object decors = tp.GetValue(Inline.TextDecorationsProperty); 448object decors = tp.GetValue(Inline.TextDecorationsProperty);
System\Windows\Documents\Bold.cs (2)
56public Bold(Inline childInline) : base(childInline) 69public Bold(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
System\Windows\Documents\DPTypeDescriptorContext.cs (1)
62if (property == Inline.TextDecorationsProperty)
System\Windows\Documents\FixedElement.cs (1)
378return typeof(Inline);
System\Windows\Documents\FlowDocument.cs (1)
54/// inline content - elements deived from <see cref="Inline"/> class:
System\Windows\Documents\Hyperlink.cs (2)
72public Hyperlink(Inline childInline) : base(childInline) 85public Hyperlink(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
System\Windows\Documents\ImmComposition.cs (2)
1437if (!navigator.GetElementType(LogicalDirection.Backward).IsSubclassOf(typeof(Inline))) 1488if (!navigator.GetElementType(LogicalDirection.Forward).IsSubclassOf(typeof(Inline)))
System\Windows\Documents\Inline.cs (7)
66public Inline NextInline 70return this.NextElement as Inline; 78public Inline PreviousInline 82return this.PreviousElement as Inline; 93typeof(Inline), 115typeof(Inline), 134FrameworkElement.FlowDirectionProperty.AddOwner(typeof(Inline));
System\Windows\Documents\InlineCollection.cs (4)
23public class InlineCollection : TextElementCollection<Inline>, IList 123public Inline FirstInline 134public Inline LastInline 157internal override void ValidateChild(Inline child)
System\Windows\Documents\Italic.cs (2)
56public Italic(Inline childInline) : base(childInline) 69public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
System\Windows\Documents\Paragraph.cs (2)
49public Paragraph(Inline inline) 83Inline.TextDecorationsProperty.AddOwner(
System\Windows\Documents\Span.cs (3)
43public Span(Inline childInline) : this(childInline, null) 56public Span(Inline childInline, TextPointer insertionPosition) 124Inline nonMergeableAncestor;
System\windows\Documents\TextEditorCharacters.cs (4)
233object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(Inline.TextDecorationsProperty); 247TextEditorCharacters._OnApplyProperty(This, Inline.TextDecorationsProperty, toggledTextDecorations); 451TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft); 460TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
System\windows\Documents\TextEditorContextMenu.cs (1)
402while (position.GetAdjacentElement(LogicalDirection.Forward) is Inline)
System\windows\Documents\TextEditorSelection.cs (1)
2442while (typeof(Inline).IsAssignableFrom(navigator.ParentType))
System\windows\Documents\TextEditorTyping.cs (1)
867typeof(Inline).IsAssignableFrom(navigator.ParentType))
System\Windows\Documents\TextElement.cs (2)
846InlineUIContainer implicitInlineUIContainer = Inline.CreateImplicitInlineUIContainer(this); 888Run implicitRun = Inline.CreateImplicitRun(this);
System\Windows\Documents\TextPointer.cs (9)
1432Inline ancestor = this.GetNonMergeableInlineAncestor(); 1725internal Inline GetNonMergeableInlineAncestor() 1727Inline ancestor = this.Parent as Inline; 1731ancestor = ancestor.Parent as Inline; 3541internal void InsertInline(Inline inline) 3830Inline ancestor = this.GetNonMergeableInlineAncestor(); 3873while (parentBlock is Inline && !(parentBlock is AnchoredBlock)) 3875parentBlock = ((Inline)parentBlock).Parent;
System\Windows\Documents\TextPointerBase.cs (9)
208typeof(Inline).IsAssignableFrom(backwardType) && !TextSchema.IsMergeableInline(backwardType) && !typeof(Run).IsAssignableFrom(forwardType) && 212typeof(Inline).IsAssignableFrom(forwardType) && !TextSchema.IsMergeableInline(forwardType) && !typeof(Run).IsAssignableFrom(backwardType) && 309return IsInAncestorScope(position, typeof(Inline), typeof(Hyperlink)); 368if (typeof(Inline).IsAssignableFrom(elementType) && !TextSchema.IsMergeableInline(elementType)) 597if (!typeof(Inline).IsAssignableFrom(elementType)) 730!typeof(Inline).IsAssignableFrom(thisPosition.GetElementType(LogicalDirection.Backward)); 1175!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(direction)) && 1183!typeof(Inline).IsAssignableFrom(thisNavigator.GetElementType(oppositeDirection)) && 1498!typeof(Inline).IsAssignableFrom(position.ParentType))
System\Windows\Documents\TextRangeBase.cs (6)
355!typeof(Inline).IsAssignableFrom(navigator.GetElementType(direction)) // 360!typeof(Inline).IsAssignableFrom(navigator.ParentType)) 438if (formattingProperty != Inline.TextDecorationsProperty) 447while (value == null && (element is Inline || element is Paragraph || element is TextBlock)) 523while (typeof(Inline).IsAssignableFrom(startNavigator.ParentType)) 527while (typeof(Inline).IsAssignableFrom(endNavigator.ParentType))
System\Windows\Documents\TextRangeEdit.cs (71)
60Inline inline = (Inline)splitPosition.Parent; 89private static bool InheritablePropertiesAreEqual(Inline firstInline, Inline secondInline) 95DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(typeof(Inline)); 127private static bool CharacterPropertiesAreEqual(Inline firstElement, Inline secondElement) 168Inline inline = position.Parent as Inline; 178inline = position.Parent as Inline; 192inline = position.Parent as Inline; 203inline = position.Parent as Inline; 268position = ((Inline)position.Parent).ElementStart; 273position = ((Inline)position.Parent).ElementEnd; 277Inline firstInline, secondInline; 282(firstInline = position.GetAdjacentElement(LogicalDirection.Backward) as Inline) != null && 283(secondInline = position.GetAdjacentElement(LogicalDirection.Forward) as Inline) != null) 325Inline inline = position.Parent as Inline; 403inline = inline.Parent as Inline; 453else if (parent is Inline) 455ClearFormattingInlineProperties((Inline)parent); 469private static void ClearFormattingInlineProperties(Inline inline) 606Inline ancestor = position.GetNonMergeableInlineAncestor(); 928Inline firstChild = paragraph.Inlines.FirstInline; 929Inline lastChild = paragraph.Inlines.LastInline; 943Inline nextChild; 954nextChild = (Inline)lastChild.NextElement; 977firstChild = (Inline)start.GetAdjacentElement(LogicalDirection.Forward); 978lastChild = (Inline)end.GetAdjacentElement(LogicalDirection.Backward); 1013private static void SetStructuralPropertyOnInline(Inline inline, DependencyProperty property, object value) 1283position = ((Inline)position.Parent).ElementStart; 1288position = ((Inline)position.Parent).ElementEnd; 1303previousPosition = ((Inline)previousPosition.GetAdjacentElement(LogicalDirection.Backward)).ContentEnd; 1312nextPosition = ((Inline)nextPosition.GetAdjacentElement(LogicalDirection.Forward)).ContentStart; 1332Inline scopingPreviousInline = GetScopingFlowDirectionInline(previousRun); 1333Inline scopingNextInline = GetScopingFlowDirectionInline(nextRun); 1446if (parent is Inline || TextSchema.AllowsParagraphMerging(parent.GetType())) 1770((((Inline)splitPosition.Parent).Parent != null && !HasLocalInheritableStructuralPropertyValue((Inline)splitPosition.Parent)) || 1771(((Inline)splitPosition.Parent).Parent == null && !HasLocalStructuralPropertyValue((Inline)splitPosition.Parent))))) 1780private static void TransferStructuralProperties(Inline source, Inline destination) 1798private static bool HasWriteableLocalPropertyValues(Inline inline) 1812private static bool HasLocalInheritableStructuralPropertyValue(Inline inline) 1827private static bool HasLocalStructuralPropertyValue(Inline inline) 1842private static bool HasLocalPropertyValue(Inline inline, DependencyProperty property) 1855private static Inline GetScopingFlowDirectionInline(Run run) 1859Inline inline = run; 1956else if ((commonAncestor is Inline && !(commonAncestor is AnchoredBlock)) || 1973private static void FixupStructuralPropertyEnvironment(Inline inline, DependencyProperty property) 1979for (Inline searchInline = inline; searchInline != null; searchInline = searchInline.Parent as Span) 1981Inline previousSibling = (Inline)searchInline.PreviousElement; 1991for (Inline searchInline = inline; searchInline != null; searchInline = searchInline.Parent as Span) 1993Inline nextSibling = (Inline)searchInline.NextElement; 2003private static void FlattenStructuralProperties(Inline inline) 2019Inline child = (Inline)topmostSpan.Inlines.FirstInline; 2033private static void ClearParentStructuralPropertyValue(Inline child, DependencyProperty property) 2170Inline inline = (Inline)start.GetAdjacentElement(LogicalDirection.Forward); 2258if (!(commonAncestor is Inline)) 2263Inline nonMergeableAncestor = null; 2264Inline parent; 2267for (parent = (Inline)start.Parent; parent != commonAncestor; parent = (Inline)parent.Parent) 2278for (parent = (Inline)end.Parent; parent != commonAncestor; parent = (Inline)parent.Parent)
System\Windows\Documents\TextRangeEditTables.cs (3)
636if (ancestor is List || ancestor is Inline && !TextSchema.IsMergeableInline(ancestor.GetType())) 861position = ((Inline)parent).ElementStart; 874if (TextSchema.IsValidChild(/*position:*/position, /*childType:*/typeof(Inline)))
System\Windows\Documents\TextRangeSerialization.cs (8)
666typeof(Inline).IsAssignableFrom(contextType) && !typeof(AnchoredBlock).IsAssignableFrom(contextType)) 867if (property == Inline.BaselineAlignmentProperty || property == TextElement.TextEffectsProperty) 875&& typeof(Inline).IsAssignableFrom(parentContext.ParentType)) 1320ValidateMergingPositions(typeof(Inline), fragmentStart, fragmentEnd); 1585ApplyContextualProperty(typeof(Inline), start, end, property, propertyEntry.Value); 1590ApplyContextualProperty(typeof(Inline), start, end, property, propertyEntry.Value); 1732typeof(Inline).IsAssignableFrom(commonAncestor.ParentType) && TextSchema.HasTextDecorations(commonAncestor.GetValue(Inline.TextDecorationsProperty)))
System\Windows\Documents\TextSchema.cs (14)
186if (typeof(Inline).IsAssignableFrom(newType)) 188return typeof(Inline).IsAssignableFrom(siblingType); 242Inline ancestor = element as Inline; 246ancestor = ancestor.Parent as Inline; 277return typeof(Inline).IsAssignableFrom(elementType) && !IsFormattingType(elementType); 822return typeof(Inline).IsAssignableFrom(childType) && 828return typeof(Inline).IsAssignableFrom(childType) && 837return typeof(Inline).IsAssignableFrom(childType); 961Inline.BaselineAlignmentProperty, 962Inline.TextDecorationsProperty, 975Inline.BaselineAlignmentProperty, 976Inline.TextDecorationsProperty, 1218Inline.FlowDirectionProperty,
System\windows\Documents\TextSelection.cs (3)
1451Inline ancestor = start.GetNonMergeableInlineAncestor(); 1480DependencyProperty[] inheritableProperties = TextSchema.GetInheritableProperties(typeof(Inline)); 1487while (element is Inline)
System\Windows\Documents\Underline.cs (2)
56public Underline(Inline childInline) : base(childInline) 69public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
386case 290: t = () => typeof(Inline); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5385typeof(System.Windows.Documents.Inline),
System\Windows\Markup\KnownTypes.cs (1)
5844case KnownElements.Inline: t = typeof(System.Windows.Documents.Inline); break;