Dela via


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; }
var inlineCollection = textBlock.inlines;
Public ReadOnly Property Inlines As InlineCollection
<TextBlock>
  oneOrMoreInlineElements
</TextBlock>

Property Value

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

Applies to