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