Interface IUINumberInput
A component that can be used to display or edit numbers on a single line.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
public interface IUINumberInput : IUISingleLineTextInput, IUITitledElementWithChildren, IUITitledElement, IUIElementWithChildren, IUIElement
Properties
Max
Gets the maximum value possible. Default is MaxValue.
Declaration
double Max { get; }
Property Value
Type | Description |
---|---|
double |
Min
Gets the minimum value possible. Default is MinValue.
Declaration
double Min { get; }
Property Value
Type | Description |
---|---|
double |
Step
Gets the interval between legal numbers. Default is 1.
Declaration
double Step { get; }
Property Value
Type | Description |
---|---|
double |
Value
Gets the value of the input.
Declaration
double Value { get; }
Property Value
Type | Description |
---|---|
double |
Events
MaxChanged
Raised when Max is changed.
Declaration
event EventHandler? MaxChanged
Event Type
Type | Description |
---|---|
EventHandler |
MinChanged
Raised when Min is changed.
Declaration
event EventHandler? MinChanged
Event Type
Type | Description |
---|---|
EventHandler |
StepChanged
Raised when Step is changed.
Declaration
event EventHandler? StepChanged
Event Type
Type | Description |
---|---|
EventHandler |
ValueChanged
Raised when Value is changed.
Declaration
event EventHandler? ValueChanged
Event Type
Type | Description |
---|---|
EventHandler |