CAN配置下拉框选择配置信息
This commit is contained in:
36
CapMachine.Wpf/Dtos/ComboBoxModel.cs
Normal file
36
CapMachine.Wpf/Dtos/ComboBoxModel.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user