52 lines
1.5 KiB
C#
52 lines
1.5 KiB
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="ListPickerItemModel.cs" company="BTU/IIT">
|
|
// Company copyright tag.
|
|
// </copyright>
|
|
// <author>stubbfel</author>
|
|
// <sience>13.06.2013</sience>
|
|
//----------------------------------------------------------------------
|
|
namespace CampusAppWPortalLib8.Model.Utility
|
|
{
|
|
/// <summary>
|
|
/// Model for the ListPickerItems
|
|
/// </summary>
|
|
public class ListPickerItemModel
|
|
{
|
|
#region Constructor
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ListPickerItemModel" /> class.
|
|
/// </summary>
|
|
public ListPickerItemModel()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ListPickerItemModel" /> class.
|
|
/// </summary>
|
|
/// <param name="value">string for the value property of an item</param>
|
|
/// <param name="text">string for the text property of an item</param>
|
|
public ListPickerItemModel(string value, string text)
|
|
{
|
|
this.Value = value;
|
|
this.Text = text;
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Property
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Value of an Item
|
|
/// </summary>
|
|
public string Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Text (caption) of an Item
|
|
/// </summary>
|
|
public string Text { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|