UserControlrepresents a "view" in Avalonia, which is a reusable collection of controls in a predefined layout.
UserControlusually consists of two parts: a XAML file (e.g.
MyUserControl.axaml) and a code-behind file (e.g.
MyUserControl.axaml.cs). The code-behind defines a .NET class which represents the control.
UserControls from templates:
Add -> New Itemmenu item
[namespace]with the namespace you'd like to create the
[name]with the name of the control.