共用方式為


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

適用於