Expand Minimize

TextBlock.Inlines property

Applies to Windows and Windows Phone

Gets the collection of inline text elements within a TextBlock.

Syntax


public InlineCollection Inlines { get; }


<TextBlock
  oneOrMoreInlineElements
</TextBlock>

XAML Values

oneOrMoreInlineElements

One or more object elements for classes that derive from Inline. Typically these are the classes Run or LineBreak.

Property value

Type: InlineCollection

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

TextBlock

 

 

Show:
© 2014 Microsoft