//=============================================================================== // Goal Book. // Copyright © 2009 Mark Brownsword. //=============================================================================== namespace GoalBook.Infrastructure { #region Using Statements #endregion /// <summary> /// Class to represent ComboItem for displaying in a DropdownList. /// </summary> public class ComboItemInfo { /// <summary> /// Constructor. /// </summary> public ComboItemInfo(string value, string text) { this.Value = value; this.Text = text; } /// <summary> /// Reference to the Value field. /// </summary> public string Value { get; private set; } /// <summary> /// Reference to the Text field. /// </summary> public string Text { get; private set; } /// <summary> /// String representation of the ComboItemInfo. /// </summary> /// <returns></returns> public override string ToString() { return this.Text; } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)