mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Reactive.Disposables;
|
|
using System.Reactive.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
using ReactiveUI;
|
|
using Wabbajack.Common;
|
|
using Wabbajack.Lib.WebAutomation;
|
|
|
|
namespace Wabbajack
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for ModlistGallerySettingsView.xaml
|
|
/// </summary>
|
|
public partial class ModlistGallerySettingsView : ReactiveUserControl<FiltersSettings>
|
|
{
|
|
public ModlistGallerySettingsView()
|
|
{
|
|
InitializeComponent();
|
|
|
|
this.WhenActivated(disposable =>
|
|
{
|
|
// Bind Values
|
|
this.Bind(this.ViewModel, x => x.IsPersistent, x => x.FilterPersistCheckBox.IsChecked)
|
|
.DisposeWith(disposable);
|
|
this.Bind(this.ViewModel, x => x.UseCompression, x => x.UseCompressionCheckBox.IsChecked)
|
|
.DisposeWith(disposable);
|
|
|
|
this.ClearCefCache.Click += (sender, args) => {Driver.ClearCache();};
|
|
});
|
|
}
|
|
}
|
|
}
|