FlowDocument.Blocks 属性

定义

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

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 包含 Block 构成该 FlowDocument元素内容的元素。

注解

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

必须派生自FlowDocument包含在其中的Block顶级子元素。 有效的顶级子元素包括:

适用于