PermissionInputT 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 PermissionInput<T> : InputComponentBase<T>
where T : class
Inheritance
Object    ComponentBase    InputComponentBaseT    PermissionInputT

Type Parameters

T
The model type, usually derived from IIdLabel

Constructors

PermissionInputTInitializes a new instance of the PermissionInputT class

Properties

Disabled Whether the checkbox is disabled or not.
Label Label left of the checkbox element
ToolTip Tooltip for the checkbox element
Value Value parser that retrieves and sets the value of the checkbox
ValueChanged Event callback for value changes.
ValueExpression Event callback for value expression.

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