DataTemplate DataTemplate Constructors

Definition

Overloads

DataTemplate()

For internal use only.

DataTemplate(Func<Object>) DataTemplate(Func<Object>)

Creates and initializes a new instance of the DataTemplate class.

DataTemplate(Type) DataTemplate(Type)

Creates a new DataTemplate for type type.

DataTemplate()

For internal use only.

public DataTemplate ();

DataTemplate(Func<Object>) 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
Func<Object>

A custom content generator to be called

DataTemplate(Type) DataTemplate(Type)

Creates a new DataTemplate for type type.

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

The type of control for which to create a template.

Applies to