OptionalDecimalInputT, TParamType Class

Input field for an optional Nullable number of type Double.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public sealed class OptionalDecimalInput<T, TParamType> : InputComponentBase<T>
where T : class, IIdLabel
where TParamType : struct, new(), INumber<TParamType>
Inheritance
Object    ComponentBase    InputComponentBaseT    OptionalDecimalInputT, TParamType

Type Parameters

T
TParamType
Number type

Constructors

OptionalDecimalInputT, TParamTypeInitializes a new instance of the OptionalDecimalInputT, TParamType class

Properties

Accessor Accessor for the property
AllowNegativeNumbers Whether to allow negative numbers
Label Label left of the checkbox element
ToolTip Tooltip for the checkbox element

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides InputComponentBaseTSetParametersAsync(ParameterView))

See Also