Modifier

Partager via


FrameworkElementFactory Constructors

Definition

Initializes a new instance of the FrameworkElementFactory class.

Overloads

FrameworkElementFactory()

Initializes a new instance of the FrameworkElementFactory class.

FrameworkElementFactory(String)

Initializes a new instance of the FrameworkElementFactory class with the specified text to produce.

FrameworkElementFactory(Type)

Initializes a new instance of the FrameworkElementFactory class with the specified Type.

FrameworkElementFactory(Type, String)

Initializes a new instance of the FrameworkElementFactory class with the specified Type and name.

FrameworkElementFactory()

Initializes a new instance of the FrameworkElementFactory class.

public:
 FrameworkElementFactory();
public FrameworkElementFactory ();
Public Sub New ()

Applies to

FrameworkElementFactory(String)

Initializes a new instance of the FrameworkElementFactory class with the specified text to produce.

public:
 FrameworkElementFactory(System::String ^ text);
public FrameworkElementFactory (string text);
new System.Windows.FrameworkElementFactory : string -> System.Windows.FrameworkElementFactory
Public Sub New (text As String)

Parameters

text
String

The text string to produce.

Applies to

FrameworkElementFactory(Type)

Initializes a new instance of the FrameworkElementFactory class with the specified Type.

public:
 FrameworkElementFactory(Type ^ type);
public FrameworkElementFactory (Type type);
new System.Windows.FrameworkElementFactory : Type -> System.Windows.FrameworkElementFactory
Public Sub New (type As Type)

Parameters

type
Type

The type of instance to create.

Applies to

FrameworkElementFactory(Type, String)

Initializes a new instance of the FrameworkElementFactory class with the specified Type and name.

public:
 FrameworkElementFactory(Type ^ type, System::String ^ name);
public FrameworkElementFactory (Type type, string name);
new System.Windows.FrameworkElementFactory : Type * string -> System.Windows.FrameworkElementFactory
Public Sub New (type As Type, name As String)

Parameters

type
Type

The type of instance to create.

name
String

The style identifier.

Applies to