RichTextBlock.Blocks 属性

定义

获取 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>

属性值

包含 RichTextBlock 内容的 BlockCollection

适用于