Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TextBlock.Inlines Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?