wabbajack/Wabbajack.App.Wpf/Views/Settings/MiscSettingsView.xaml.cs

25 lines
641 B
C#
Raw Normal View History

2022-10-08 04:06:17 +00:00
using System.Reactive.Disposables;
using ReactiveUI;
namespace Wabbajack
{
/// <summary>
/// Interaction logic for MiscSettingsView.xaml
/// </summary>
public partial class MiscSettingsView : ReactiveUserControl<SettingsVM>
{
public MiscSettingsView()
{
InitializeComponent();
this.WhenActivated(disposable =>
{
// Bind Values
this.WhenAnyValue(x => x.ViewModel.OpenTerminalCommand)
.BindToStrict(this, x => x.OpenTerminal.Command)
.DisposeWith(disposable);
});
}
}
}