27 lines
525 B
C#
27 lines
525 B
C#
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;
|
|
}
|
|
}
|
|
}
|