8ca6e89d
Tuo Wenbo
20211021
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
using GalaSoft.MvvmLight;
namespace OOS.Spin.ViewModle.Models
{
public class MenuButtonModel:ObservableObject
{
/// <summary>
/// 按钮名称
/// </summary>
private string buttonName;
public string ButtonName
{
get { return buttonName; }
set { buttonName = value; RaisePropertyChanged(() => ButtonName); }
}
/// <summary>
/// 关联的TXT文件的路径
/// </summary>
private string txtPath;
public string TxtPath
{
get { return txtPath; }
set { txtPath = value; RaisePropertyChanged(() => TxtPath); }
}
private bool isChecked;
public bool IsChecked
{
get { return isChecked; }
set { isChecked = value; RaisePropertyChanged(() => IsChecked); }
}
}
}
|