ControlTemplate ControlTemplate Class

Definition

Template that specifies a group of styles and effects for controls.

public class ControlTemplate : Xamarin.Forms.ElementTemplate
type ControlTemplate = class
    inherit ElementTemplate
Inheritance
ControlTemplateControlTemplate

Constructors

ControlTemplate() ControlTemplate()

For internal use only.

ControlTemplate(Type) ControlTemplate(Type)

Creates a new control template for the specified control type.

Methods

CreateContent() CreateContent()

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

(Inherited from ElementTemplate)

Properties

IDataTemplate.LoadTemplate IDataTemplate.LoadTemplate

For internal use only.

(Inherited from ElementTemplate)

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