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

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

Syntax

'Declaration
Public ReadOnly Property Inlines As InlineCollection
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.

Remarks

Use the InlineCollection returned by this property to enumerate or manipulate the contents of a Span 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.