Files
CapMachine/CapMachine.Wpf/Models/ComboBoxModel.cs
2024-07-28 22:59:11 +08:00

34 lines
691 B
C#

using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.Models
{
public class ComboBoxModel: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(); }
}
}
}