31 lines
624 B
C#
31 lines
624 B
C#
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); }
|
|
}
|
|
}
|
|
|
|
}
|