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 Sub New (
	childBlock As Block


Type: System.Windows.Documents.Block

The initial content of the new Floater.

The following example demonstrates how to use this constructor.

Dim parx3 As New Paragraph(New Run("Floater content..."))
Dim flotx3 As New Floater(parx3)

.NET Framework
Available since 3.0
Return to top