ControlTemplate 构造函数

定义

重载

ControlTemplate()

仅限内部使用。

ControlTemplate(Func<Object>)
ControlTemplate(Type)

为指定的控件类型创建新的控件模板。

ControlTemplate()

仅限内部使用。

public ControlTemplate();

适用于

ControlTemplate(Func<Object>)

public ControlTemplate(Func<object> createTemplate);
new Xamarin.Forms.ControlTemplate : Func<obj> -> Xamarin.Forms.ControlTemplate

参数

createTemplate
System.Func<System.Object>

适用于

ControlTemplate(Type)

为指定的控件类型创建新的控件模板。

public ControlTemplate(Type type);
new Xamarin.Forms.ControlTemplate : Type -> Xamarin.Forms.ControlTemplate

参数

type
System.Type

要为其创建模板的控件类型。

适用于