Number Box

Inherits from TextBox

The Number Box view provides an input box for the user to enter a decimal number. It ensures the value is a valid decimal number during validation. The number may be negative and may or may not contain a fractional amount. However, if it does contain a decimal separator then it must also include at least one digit after the separator.

Properties

See TextBox for available properties.

Example

<Rock:FieldContainer>
    <Rock:NumberBox Label="Rock Number Box"
                    IsRequired="false"
                    Text="-1325" />
</Rock:FieldContainer>

Last updated

⚙️ Powered by Rock RMS