Table of Contents

Class NumericBox

Namespace
InSite.Common.Web.UI
Assembly
InSite.UI.dll
[ValidationProperty("ValueAsText")]
public class NumericBox : BaseInputBox, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackDataHandler, IHasEmptyMessage, INumericBox
Inheritance
NumericBox
Implements
Inherited Members

Constructors

NumericBox()

public NumericBox()

Properties

DecimalPlaces

public int DecimalPlaces { get; set; }

Property Value

int

DigitGrouping

public bool DigitGrouping { get; set; }

Property Value

bool

HasValue

public override bool HasValue { get; }

Property Value

bool

MaxValue

public decimal? MaxValue { get; set; }

Property Value

decimal?

MinValue

public decimal? MinValue { get; set; }

Property Value

decimal?

NumericMode

public NumericBoxMode NumericMode { get; set; }

Property Value

NumericBoxMode

ValueAsDecimal

public decimal? ValueAsDecimal { get; set; }

Property Value

decimal?

ValueAsInt

public int? ValueAsInt { get; set; }

Property Value

int?

ValueAsText

[PersistenceMode(PersistenceMode.EncodedInnerDefaultProperty)]
public string ValueAsText { get; set; }

Property Value

string

Methods

AddParsedSubObject(object)

protected override void AddParsedSubObject(object obj)

Parameters

obj object

LoadPostData(string, NameValueCollection)

protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)

Parameters

postDataKey string
postCollection NameValueCollection

Returns

bool

RaisePostDataChangedEvent()

protected override void RaisePostDataChangedEvent()

Render(HtmlTextWriter)

protected override void Render(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter

Events

ValueChanged

public event EventHandler ValueChanged

Event Type

EventHandler