DecimalInputT, 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 DecimalInput<T, TParamType> : InputComponentBase<T>
where T : class
where TParamType : struct, new(), INumber<TParamType>
Inheritance
Object    ComponentBase    InputComponentBaseT    DecimalInputT, TParamType

Type Parameters

T
Model the property is a part of
TParamType
Number type

Constructors

DecimalInputT, TParamTypeInitializes a new instance of the DecimalInputT, 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