Files
Umbraco-CMS/components/macroRenderings/numeric.cs

47 lines
687 B
C#
Raw Normal View History

using System;
namespace umbraco.macroRenderings
{
/// <summary>
///
/// </summary>
public class numeric : System.Web.UI.WebControls.TextBox, interfaces.IMacroGuiRendering
{
string _value = "";
public bool ShowCaption
{
get {return true;}
}
public string Value
{
get {
return base.Text;
}
set
{
this.Text = value;
_value = value;
}
}
protected override void OnInit(EventArgs e)
{
base.OnInit (e);
this.CssClass = "guiInputTextStandard";
this.Attributes.Add("style", "width: 30%");
}
public numeric()
{
//
// TODO: Add constructor logic here
//
}
}
}