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.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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