ControlTemplate 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
這個範本是針對哪一種類型。