Xamarin.Forms Guides | Samples

Xamarin.Forms.TemplatedView Class

A view that displays content with a control template, and the base class for ContentView.

See Also: TemplatedView


public class TemplatedView : Layout


Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:

The members of Xamarin.Forms.TemplatedView are listed below.

See Also: Layout

Public Constructors

Creates a new empty templated view.

Public Fields

static readonly
ControlTemplatePropertyBindableProperty. Backing store for the ControlTemplate property..

Public Properties

ControlTemplateControlTemplate. Gets or sets the control template that is used to display content.

Protected Methods

LayoutChildren(Double, Double, Double, Double)
Positions and sizes the children of the templated view within the rectangle defined by x, y, width, and heightT.
OnSizeRequest(Double, Double) : SizeRequest
Method that is called when the layout updates.