Table of Contents

Class NumericTextboxComponent

Namespace: Casewhere.Models.FormBuilder.Components
Assembly: Casewhere.Models.dll

Represents a numeric textbox component in a form.

public class NumericTextboxComponent : FormDataComponent, INgModelOptions

Inheritance

objectFormComponentFormDataComponentNumericTextboxComponent

Implements

INgModelOptions

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<NumericTextboxComponent>(NumericTextboxComponent)

Constructors

NumericTextboxComponent()

public NumericTextboxComponent()

Properties

AllowDecimal

Gets or sets a value indicating whether decimal values are allowed.

public bool AllowDecimal { get; set; }

Property Value

bool

ClientReadOnly

Gets or sets the client-side read-only rule for the numeric textbox.

public string ClientReadOnly { get; set; }

Property Value

string

DisableFormat

public bool DisableFormat { get; set; }

Property Value

bool

MaxValue

Gets or sets the maximum value allowed for the numeric textbox.

public double? MaxValue { get; set; }

Property Value

double?

MinValue

Gets or sets the minimum value allowed for the numeric textbox.

public double? MinValue { get; set; }

Property Value

double?

Precision

Gets or sets the precision of the numeric value.

public int Precision { get; set; }

Property Value

int

RangeMessage

Gets or sets the error message to display when the value is outside the specified range.

public string RangeMessage { get; set; }

Property Value

string

ReadOnly

Gets or sets the read-only rule for the numeric textbox.

public ReadOnlyRule ReadOnly { get; set; }

Property Value

ReadOnlyRule

Value

Gets or sets the value of the numeric textbox.

public double? Value { get; set; }

Property Value

double?