ControlTemplate 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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
要为其创建模板的控件类型。