添加项目文件。
This commit is contained in:
30
GroupLine.App/ModelDto/ComboBoxModel.cs
Normal file
30
GroupLine.App/ModelDto/ComboBoxModel.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using GalaSoft.MvvmLight;
|
||||
using System;
|
||||
|
||||
namespace GroupLine.App.ModelDto
|
||||
{
|
||||
public class ComboBoxModel : ObservableObject
|
||||
{
|
||||
private String key;
|
||||
/// <summary>
|
||||
/// Key值
|
||||
/// </summary>
|
||||
public String Key
|
||||
{
|
||||
get { return key; }
|
||||
set { key = value; RaisePropertyChanged(() => Key); }
|
||||
}
|
||||
|
||||
|
||||
private String text;
|
||||
/// <summary>
|
||||
/// Text值
|
||||
/// </summary>
|
||||
public String Text
|
||||
{
|
||||
get { return text; }
|
||||
set { text = value; RaisePropertyChanged(() => Text); }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user