語言

ControlTemplate 建構函式

定義

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

多載

名稱 Description
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

這個範本是針對哪一種類型。

適用於