Floater Constructor (Block)

 

Initializes a new instance of the Floater class with the specified Block object as its initial content.

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

public Floater(
	Block childBlock
)

Parameters

childBlock
Type: System.Windows.Documents.Block

The initial content of the new Floater.

The following example demonstrates how to use this constructor.

Paragraph parx = new Paragraph(new Run("Floater content..."));
Floater flotx = new Floater(parx);

.NET Framework
Available since 3.0
Return to top
Show: