语言

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

此模板适用于的类型。

适用于