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
object ← FormComponent ← FormDataComponent ← NumericTextboxComponent
Implements
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
ClientReadOnly
Gets or sets the client-side read-only rule for the numeric textbox.
public string ClientReadOnly { get; set; }
Property Value
DisableFormat
public bool DisableFormat { get; set; }
Property Value
MaxValue
Gets or sets the maximum value allowed for the numeric textbox.
public double? MaxValue { get; set; }
Property Value
MinValue
Gets or sets the minimum value allowed for the numeric textbox.
public double? MinValue { get; set; }
Property Value
Precision
Gets or sets the precision of the numeric value.
public int Precision { get; set; }
Property Value
RangeMessage
Gets or sets the error message to display when the value is outside the specified range.
public string RangeMessage { get; set; }
Property Value
ReadOnly
Gets or sets the read-only rule for the numeric textbox.
public ReadOnlyRule ReadOnly { get; set; }
Property Value
Value
Gets or sets the value of the numeric textbox.
public double? Value { get; set; }