共用方式為


DataTemplate Constructors

Definition

Overloads

DataTemplate()

For internal use only.

DataTemplate(Func<Object>)

Creates and initializes a new instance of the DataTemplate class.

DataTemplate(Type)

Creates a new DataTemplate for type type.

DataTemplate()

For internal use only.

public DataTemplate ();

Applies to

DataTemplate(Func<Object>)

Creates and initializes a new instance of the DataTemplate class.

public DataTemplate (Func<object> loadTemplate);
new Xamarin.Forms.DataTemplate : Func<obj> -> Xamarin.Forms.DataTemplate

Parameters

loadTemplate
System.Func<System.Object>

A custom content generator to be called

Applies to

DataTemplate(Type)

Creates a new DataTemplate for type type.

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

Parameters

type
System.Type

The type of control for which to create a template.

Applies to