Control Templates

PDF for offline use

Let us know how you feel about this

Translation Quality


last updated: 2016-03

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.

Creating 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.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.