FlowDocument.Blocks 属性

定义

获取 FlowDocument 的内容的顶级 Block 元素。

public:
 property System::Windows::Documents::BlockCollection ^ Blocks { System::Windows::Documents::BlockCollection ^ get(); };
public System.Windows.Documents.BlockCollection Blocks { get; }
member this.Blocks : System.Windows.Documents.BlockCollection
Public ReadOnly Property Blocks As BlockCollection

属性值

BlockCollection

一个 BlockCollection,其中包含组成 FlowDocument 的内容的 Block 元素。

注解

BlockCollection使用此属性返回的内容枚举或操作 。FlowDocument

Top-level child elements contained in a FlowDocument must be derived from Block. 有效的顶级子元素包括:

适用于