Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FlowDocument.Blocks Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public BlockCollection Blocks { 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
Show:
© 2017 Microsoft