FrameworkElementFactory Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應