TimeSpanInput Class

Input component for TimeSpan values when dealing with hours, minutes, and seconds.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
internal sealed class TimeSpanInput : ComponentBase, 
	IHasLocalization
Inheritance
Object    ComponentBase    TimeSpanInput
Implements
IHasLocalization

Constructors

TimeSpanInputInitializes a new instance of the TimeSpanInput class

Properties

EditContext EditContext for the form.
Loc Dependency injection for the localization tool. It derives texts established in CosmosDB's "LocalizedStrings" container. It can be used by invoking it as an array, with the key of the text you want to get. Parameters for the string can be added in the array as well, similar to Format(String, Object).
If the text is not found, it will return the key itself as fallback.

The language the key will be localized based on is based on the CurrentCulture and the CurrentUICulture.
If you want to localize something in a different language, you will have to apply the culture on the CultureInfo properties, get the text,
and revert back to the original culture.
Value Gets or sets the value.
ValueChanged This event fired on every user keystroke that changes the NumberInput value.
ValueExpression An expression that identifies the bound value.

Methods

SetParametersAsync Sets parameters supplied by the component's parent in the render tree.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also