WordCloudSettingViewModel.cs 802 B

123456789101112131415161718192021222324252627282930313233
  1. using CommunityToolkit.Mvvm.ComponentModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace WechatBakTool.ViewModel
  8. {
  9. public partial class WordCloudSettingViewModel : ObservableObject
  10. {
  11. [ObservableProperty]
  12. private string imgHeight = "";
  13. [ObservableProperty]
  14. private string imgWidth = "";
  15. [ObservableProperty]
  16. private bool enableRemoveOneKey = true;
  17. [ObservableProperty]
  18. private string removeKey = "";
  19. [ObservableProperty]
  20. private int maxKeyCount = 200;
  21. [ObservableProperty]
  22. private string font = "微软雅黑";
  23. [ObservableProperty]
  24. private List<string> fontList = new List<string>();
  25. }
  26. }