Files
win8phoneApp/CampusAppWP8/CampusAppWPortalLib8/Model/Utility/ListPickerItemModel.cs
2013-10-15 13:10:29 +02:00

52 lines
1.7 KiB
C#

//-----------------------------------------------------------------------
// <copyright file="ListPickerItemModel.cs" company="BTU/IIT">
// The MIT License (MIT). Copyright (c) 2013 BTU/IIT.
// </copyright>
// <author>Stubbfel</author>
// <date>15.10.2013</date>
// <summary>Implements the list picker item model class</summary>
//-----------------------------------------------------------------------
namespace CampusAppWPortalLib8.Model.Utility
{
/// <summary> Model for the ListPickerItems. </summary>
/// <remarks> Stubbfel, 15.10.2013. </remarks>
public class ListPickerItemModel
{
#region Constructor
/// <summary>
/// Initializes a new instance of the <see cref="ListPickerItemModel" /> class.
/// </summary>
/// <remarks> Stubbfel, 15.10.2013. </remarks>
public ListPickerItemModel()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ListPickerItemModel" /> class.
/// </summary>
/// <remarks> Stubbfel, 15.10.2013. </remarks>
/// <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>
/// <value> The value. </value>
public string Value { get; set; }
/// <summary> Gets or sets the Text (caption) of an Item. </summary>
/// <value> The text. </value>
public string Text { get; set; }
#endregion
}
}