TextBlock.Inlines property

This topic has not yet been rated - Rate this topic

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

Namespace

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

Metadata

Windows.winmd

See also

TextBlock

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.