Window
is the top-level control in Avalonia.MainWindow.axaml
) and a code-behind file (e.g. MainWindow.axaml.cs
). The code-behind defines a .NET class which represents the window.Window
called MainWindow
. You can create additional windows from templates too:Add -> New Item
menu item[namespace]
with the namespace you'd like to create the window in and [name]
with the name of the window.