
The 'about window' is implemented, the invoke is a method since ReactiveCommand fails when invoking a new window.
21 lines
411 B
C#
21 lines
411 B
C#
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
|
|
namespace AvaloniaCoreRTDemo
|
|
{
|
|
public class AboutWindow : Window
|
|
{
|
|
public AboutWindow()
|
|
{
|
|
this.InitializeComponent();
|
|
this.DataContext = new AboutWindowViewModel();
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
AvaloniaXamlLoader.Load(this);
|
|
}
|
|
}
|
|
}
|