wabbajack/Wabbajack.App/Screens/ErrorPageView.axaml.cs
2021-10-19 17:19:06 -06:00

20 lines
565 B
C#

using System.Reactive.Disposables;
using ReactiveUI;
using Wabbajack.App.Views;
namespace Wabbajack.App.Screens;
public partial class ErrorPageView : ScreenBase<ErrorPageViewModel>
{
public ErrorPageView()
{
InitializeComponent();
this.WhenActivated(disposables =>
{
this.Bind(ViewModel, vm => vm.Prefix, view => view.Prefix.Text)
.DisposeWith(disposables);
this.Bind(ViewModel, vm => vm.ShortMessage, view => view.Message.Text)
.DisposeWith(disposables);
});
}
}