Paragraph.Inlines Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets an InlineCollection containing the top-level Inline elements that include the contents of the Paragraph.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property Inlines As InlineCollection
public InlineCollection Inlines { get; }
<Paragraph .../>
-or-
<Paragraph ...>
  oneOrMoreInlines
</Paragraph>
-or-
<Paragraph ...>
  mixedContent
</Paragraph>

XAML Values

  • oneOrMoreInlines
    One or more elements that derive from the Inline type.

  • mixedContent
    A mixture of inner text and elements that derive from the Inline type. See Remarks in Paragraph.

Property Value

Type: System.Windows.Documents.InlineCollection
An InlineCollection containing the Inline elements that include the contents of the Paragraph.

Remarks

Use the InlineCollection returned by this property to enumerate or manipulate the contents of a Paragraph element.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.