//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.Web.UI.WebControls;

namespace CommunityServer.Controls {

    /// <summary>
    /// This server control displays a list of Date formatting options.
    /// </summary>
    public class FontSizeDropDownList : DropDownList {

        /// <remarks>
        /// Public constructor, internally populates the list of date formats.
        /// </remarks>
        public FontSizeDropDownList() {

            // Add formats
            //
            Items.Add(new ListItem(CommunityServer.Components.ResourceManager.GetString("Font_Small"), "-1"));
			Items.Add(new ListItem(CommunityServer.Components.ResourceManager.GetString("Font_Normal"), "0"));
			Items.Add(new ListItem(CommunityServer.Components.ResourceManager.GetString("Font_Large"), "1"));
			Items.Add(new ListItem(CommunityServer.Components.ResourceManager.GetString("Font_Largest"), "2"));

        }
    }
}
