Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.37 KB

File metadata and controls

39 lines (30 loc) · 1.37 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Documents.Span.Inlines
winrt property

Microsoft.UI.Xaml.Documents.Span.Inlines

-description

Gets an InlineCollection containing the top-level inline elements that include the contents of Span.

-xaml-syntax

<Span ...>
  oneOrMoreInlines
</Span>
-or-
<Span ...>
  mixedContent
</Span>

-xaml-values

oneOrMoreInlines
oneOrMoreInlinesOne or more elements that derive from the Inline type.
mixedContent
mixedContentA mixture of inner text and elements that derive from the Inline type.
## -property-value An [InlineCollection](inlinecollection.md) containing the inline elements that include the contents of the [Span](span.md). This property has no default value.

-remarks

Hyperlink has restrictions on the content that can exist in its Inlines colllection. Specifically, a Hyperlink only permits Run and other Span types that aren't another Hyperlink. InlineUIContainer can't be in the Inlines colllection of a Hyperlink. Attempting to add restricted content throws an invalid args exception or XAML parse exception.

-examples

-see-also