wabbajack/Wabbajack.App/Screens/LauncherView.axaml.cs
2021-09-29 22:03:43 -06:00

23 lines
571 B
C#

using System.Reactive.Disposables;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using Wabbajack.App.Views;
namespace Wabbajack.App.Screens
{
public partial class LauncherScreen : ScreenBase<LauncherViewModel>
{
public LauncherScreen()
{
InitializeComponent();
this.WhenActivated(disposables =>
{
this.OneWayBind(ViewModel, vm => vm.Image, view => view.SlideImage.Source)
.DisposeWith(disposables);
});
}
}
}