GlobalSettingsViewModel.cs 1.0 KB

12345678910111213141516171819202122232425
  1. using R3;
  2. namespace PicView.Core.ViewModels;
  3. public class GlobalSettingsViewModel
  4. {
  5. public BindableReactiveProperty<bool> IsTopMost { get; } = new(Settings.WindowProperties.TopMost);
  6. public BindableReactiveProperty<bool> IsIncludingSubdirectories { get; } =
  7. new(Settings.Sorting.IncludeSubDirectories);
  8. public BindableReactiveProperty<bool> IsScrollingEnabled { get; } = new();
  9. public BindableReactiveProperty<bool> IsStretched { get; } = new(Settings.ImageScaling.StretchImage);
  10. public BindableReactiveProperty<bool> IsLooping { get; } = new(Settings.UIProperties.Looping);
  11. public BindableReactiveProperty<bool> IsAutoFit { get; } = new(Settings.WindowProperties.AutoFit);
  12. public BindableReactiveProperty<bool> IsFileHistoryEnabled { get; } = new(Settings.Navigation.IsFileHistoryEnabled);
  13. public BindableReactiveProperty<double> ZoomValue { get; } = new();
  14. public BindableReactiveProperty<bool> IsShowingTaskbarProgress { get; } = new(Settings.UIProperties.IsTaskbarProgressEnabled);
  15. }