添加项目文件。
This commit is contained in:
26
SamplePre.Models/Models/ComboBoxListItem.cs
Normal file
26
SamplePre.Models/Models/ComboBoxListItem.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models
|
||||
{
|
||||
public class ComboBoxListItem : Object
|
||||
{
|
||||
public string Text { get; set; }
|
||||
|
||||
public object Value { get; set; }
|
||||
|
||||
public ComboBoxListItem(string text, object value)
|
||||
{
|
||||
this.Text = text;
|
||||
this.Value = value;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return this.Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user