ElementTemplate ElementTemplate Class

Definition

Base class for DataTemplate and ControlTemplate classes.

public class ElementTemplate : Xamarin.Forms.Internals.IDataTemplate
type ElementTemplate = class
    interface IElement
    interface IDataTemplate
Inheritance
ElementTemplateElementTemplate
Derived
Implements

Methods

CreateContent() CreateContent()

Used by the XAML infrastructure to load data templates and set up the content of the resulting UI.

Explicit Interface Implementations

IDataTemplate.LoadTemplate IDataTemplate.LoadTemplate

For internal use only.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to