Complete script, ready to run with pwsh. Read-only: edit the designer and Script tab instead.
XAML the script loads with [AvaloniaRuntimeXamlLoader]::Parse().