using System;
namespace MileageTraker.Web.Attributes
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class InputSizeAttribute : Attribute
{
public string Size { get; private set; }
public string ClassName { get { return "input-" + Size.ToLower(); } }
///
/// Specify width of input element
///
/// mini, small, medium, large, xlarge, xxlarge
public InputSizeAttribute(string size)
{
Size = size;
}
}
}