Intersoft ClientUI Documentation
Blocks Property (FlowDocument)



Gets or sets the top-level Block element collection of FlowDocument content.

Syntax
Public Property Blocks As BlockCollection
Dim instance As FlowDocument
Dim value As BlockCollection
 
instance.Blocks = value
 
value = instance.Blocks
public BlockCollection Blocks {get; set;}
public:
property BlockCollection^ Blocks {
   BlockCollection^ get();
   void set (    BlockCollection^ value);
}
Remarks

FlowDocument elements are divided into two kind of types: Block and Inline elements. Elements that inherit from Block can be used to group elements under a common parent or to apply common attributes to a group, while elements that inherit from Inline are either contained within a Block element or another Inline element. Inline elements are often used as the direct container of content that is rendered to the screen. For example, a Paragraph (Block element) can contain a Run (Inline element) but the Run actually contains the text that is rendered on the screen.

The diagram below shows the element schema in FlowDocument.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FlowDocument Class
FlowDocument Members

Send Feedback