Italic Constructor (Inline)

 
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.

Initializes a new instance of the Italic class with the specified Inline object as its initial content.

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

Public Sub New (
	childInline As Inline
)

Parameters

childInline
Type: System.Windows.Documents.Inline

The initial content of the new Italic.

The following example demonstrates usage of this constructor.

' A child Inline element for the new Italic element.
Dim runx1 As New Run("Text to make italic.")

' After this line executes, the new element "italx"
' contains the specified Inline element, "runx".
Dim italx1 As New Italic(runx1)

.NET Framework
Available since 3.0
Return to top
Show: