RichTextBlock.Blocks Property

Definition

Gets the contents of the RichTextBlock.

public:
 property BlockCollection ^ Blocks { BlockCollection ^ get(); };
BlockCollection Blocks();
public BlockCollection Blocks { get; }
var blockCollection = richTextBlock.blocks;
Public ReadOnly Property Blocks As BlockCollection
<RichTextBlock ...>
blocksContent
</RichTextBlock>

Property Value

BlockCollection

A BlockCollection that contains the contents of the RichTextBlock.

Applies to