UserControls are the simplest way to author controls. This type of control is best for "views" or "pages" that are specific to an application.
UserControls are authored in the same way as you would author a
Window: by creating a new
UserControlfrom a template and adding controls to it.
TemplatedControls are best used for generic controls that can be shared among various applications. They are lookless controls, meaning that they can be restyled for different themes and applications. The majority of standard controls defined by Avalonia fit into this category.
Controls are the foundation of user interfaces - they draw themselves using geometry by overriding the
Visual.Rendermethod. Controls such as
Imagefall into this category.