晚安, 还在功能性开发

This commit is contained in:
Demo_Liu
2021-05-31 21:54:10 +08:00
parent 9a45899b47
commit 0a983a3a17
8 changed files with 86 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media.Imaging;
/// <summary>
@@ -36,8 +37,48 @@ namespace GeekDesk.ViewModel
private int pannelCornerRadius = 4; //面板圆角 默认4
[field: NonSerialized]
private ObservableCollection<IconInfo> selectedMenuIcons;
private string hotkeyStr;
private HotkeyModifiers hotkeyModifiers;
private Key hotkey;
#region GetSet
public Key Hotkey
{
get
{
return hotkey;
}
set
{
hotkey = value;
OnPropertyChanged("Hotkey");
}
}
public string HotkeyStr
{
get
{
return hotkeyStr;
}
set
{
hotkeyStr = value;
OnPropertyChanged("HotkeyStr");
}
}
public HotkeyModifiers HotkeyModifiers
{
get
{
return hotkeyModifiers;
}
set
{
hotkeyModifiers = value;
OnPropertyChanged("HotkeyModifiers");
}
}
public ObservableCollection<IconInfo> SelectedMenuIcons
{
get