Files
CapMachine/CapMachine.Wpf/Dtos/ComboBoxModel.cs

37 lines
757 B
C#

using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.Dtos
{
/// <summary>
/// 下拉框的模型
/// </summary>
public class CbxItems : BindableBase
{
private string _Key;
/// <summary>
/// Key值
/// </summary>
public string Key
{
get { return _Key; }
set { _Key = value; RaisePropertyChanged(); }
}
private string _Text;
/// <summary>
/// Text 值
/// </summary>
public string Text
{
get { return _Text; }
set { _Text = value; RaisePropertyChanged(); }
}
}
}