Span.Inlines Property

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)

public InlineCollection Inlines { get; }
<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.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

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

Community Additions

Show: