ControlTemplate 建構函式

定義

初始化 ControlTemplate 類別的新執行個體。

多載

ControlTemplate()

初始化 ControlTemplate 類別的新執行個體。

ControlTemplate(Type)

使用指定的目標型別來初始化 ControlTemplate 類別的新執行個體。

ControlTemplate()

初始化 ControlTemplate 類別的新執行個體。

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

適用於

ControlTemplate(Type)

使用指定的目標型別來初始化 ControlTemplate 類別的新執行個體。

public:
 ControlTemplate(Type ^ targetType);
public ControlTemplate (Type targetType);
new System.Windows.Controls.ControlTemplate : Type -> System.Windows.Controls.ControlTemplate
Public Sub New (targetType As Type)

參數

targetType
Type

這個樣板適用於該型別。

適用於