.NET MAUI - Control templates

.NET Multi-platform App UI (.NET MAUI) control templates enable you to define the visual structure of ContentView derived custom controls, and ContentPage derived pages. Control templates separate the user interface (UI) for a custom control, or page, from the logic that implements the control or page. Additional content can also be inserted into the templated custom control, or templated page, at a pre-defined location.

This sample demonstrates using control templates to define the visual structure of ContentView derived custom controls, and ContentPage derived pages.

For more information about this sample, see .NET MAUI Control templates.