Floater Constructor (Block)


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

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


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