Inlines Property
Collapse the table of content
Expand the table of content

Paragraph.Inlines Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)
XMLNS for XAML: Not mapped to an xmlns.

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.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft