-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Documents.Span.Inlines |
winrt property |
Gets an InlineCollection containing the top-level inline elements that include the contents of Span.
<Span ...>
oneOrMoreInlines
</Span>
-or-
<Span ...>
mixedContent
</Span>
- 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.
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.