TextBlock.Inlines Property

Definition

Gets the collection of inline text elements within a TextBlock.

public:
 property InlineCollection ^ Inlines { InlineCollection ^ get(); };
InlineCollection Inlines();
public InlineCollection Inlines { get; }
Public ReadOnly Property Inlines As InlineCollection
<TextBlock
  oneOrMoreInlineElements
</TextBlock>

Property Value

InlineCollection

A collection that holds all inline text elements from the TextBlock. The default is an empty collection.

Applies to