NumberFormField

NumberFormField class

Represents a form field that accepts a number input.

public sealed class NumberFormField : IFormField

Constructors

Name Description
NumberFormField(string, string) Initializes a new instance of the NumberFormField class with the specified stylesheet and name.

Properties

Name Description
HelpText { get; set; } Gets or sets the help text associated with the form field, the source of the text that’s displayed in a message box when a form field has the focus and the user presses F1.
LocaleId { get; set; } Gets or sets the locale ID of the form field, which represents the culture or regional settings associated with the form field.
MaxLength { get; set; } Gets or sets the maximum length of the input for the form field.
Name { get; } Gets the name of the form field.
Readonly { get; set; } Gets or sets a value indicating whether the form field is read-only.
StatusText { get; set; } Gets or sets the status text associated with the form field, the source of the text that’s displayed in the status bar when a form field has the focus.
Stylesheet { get; } Gets the stylesheet applied to the form field.
Type { get; } Gets the type of the form field, which is always FormFieldType.Number for this class.
Value { get; set; } Gets or sets the value of the form field, which represents a number.

See Also