FlowDocument.Blocks Property


Gets the top-level Block elements of the contents of the FlowDocument.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

member Blocks : BlockCollection with get

Property Value

Type: System.Windows.Documents.BlockCollection

A BlockCollection containing the Block elements that make up the contents of the FlowDocument.

Use the BlockCollection returned by this property to enumerate or manipulate contents of a FlowDocument.

Top-level child elements contained in a FlowDocument must be derived from Block. Valid top-level child elements include the following:

.NET Framework
Available since 3.0
Return to top