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

Span.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 Span.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public ReadOnly Property Inlines As InlineCollection
<Span ...>
  oneOrMoreInlines
</Span>
-or-
<Span ...>
  mixedContent
</Span>

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 Span.

Property Value

Type: System.Windows.Documents.InlineCollection
An InlineCollection containing the inline elements that include the contents of the Span. This property has no default value.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft