Expand Minimize

RichTextBlock.Blocks property

Applies to Windows and Windows Phone

Gets the contents of the RichTextBlock.

Syntax

Public ReadOnly Property Blocks As BlockCollection

<RichTextBlock ...>
blocksContent
</RichTextBlock>

XAML Values

blocksContent

Zero or more object elements for types that derive from Block. Typically, these are Paragraph elements.

Property value

Type: BlockCollection

A BlockCollection that contains the contents of the RichTextBlock.

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

RichTextBlock

 

 

Show:
© 2014 Microsoft