wabbajack/Wabbajack.App/Screens/ErrorPageView.axaml.cs
Timothy Baldridge 47e01dcc34 More styling
2021-11-04 07:01:48 -06:00

20 lines
581 B
C#

using System.Reactive.Disposables;
using ReactiveUI;
using Wabbajack.App.Views;
namespace Wabbajack.App.Screens;
public partial class ErrorPageView : ScreenBase<ErrorPageViewModel>
{
public ErrorPageView() : base("Error")
{
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);
});
}
}