Xamarin.Forms Control Templates

Control templates provide a clean separation between the appearance of a page and its content, enabling the creation of pages that can easily be themed.


Xamarin.Forms control templates provide the ability to easily theme and re-theme application pages at runtime. This article provides an introduction to control templates.

Create a ControlTemplate

Control templates can be defined at the application level or at the page level. This article demonstrates how to create and consume control templates.

Binding from a ControlTemplate

Template bindings allow controls in a control template to data bind to public properties, enabling property values on controls in the control template to be easily changed. This article demonstrates using template bindings to perform data binding from a control template.