API Reference
Class
NumberField
A number with an optional range and step.
Inheritance
- Field
- NumberField
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method Form.Number
- Method FormPage.Number
Constructors
public NumberField(String name, String? label = null) #Creates a number field.
Parameters
- name System.String
- The key.
- label System.String? = null
- The label.
Methods
public override String Display(Object? value, PromptLabels labels) #Returns:
StringThe value as shown in the form and on the review page.
Parameters
- value System.Object?
- The value.
- labels ConsoleMonster.Interactive.PromptLabels
- The labels.
Returns
The text.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?