CheckboxInputT Class

Checkbox input row on a form. It creates a data and html wrapper for InputCheckbox.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public sealed class CheckboxInput<T> : InputComponentBase<T>
where T : class
Inheritance
Object    ComponentBase    InputComponentBaseT    CheckboxInputT

Type Parameters

T
The model type, usually derived from IIdLabel

Constructors

CheckboxInputTInitializes a new instance of the CheckboxInputT class

Properties

Accessor Accessor for the property
Disabled Whether the checkbox is disabled or not.
Label Label left of the checkbox element
ToolTip Tooltip for the checkbox element
ValueChanged Event callback for value changes.

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