[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.InputTimeBuilder-1

InputTimeBuilder<T> Class

Defines a builder to configurate InputTime<T>.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public class InputTimeBuilder<T> : ComboBoxBaseBuilder<T, InputTime<T>, InputTimeBuilder<T>>, IHtmlContent
Type Parameters
Name Description
T

Constructors

Name Description
InputTimeBuilder(InputTime<T>)

Creates one InputTimeBuilder<T> instance to configurate component.

Methods

Name Description
Format(string)

Configurates Format. Sets the format used to display the selected time (see Globalize).

InputType(string)

Configurates InputType. Sets the "type" attribute of the HTML input element hosted by the control.

Mask(string)

Configurates Mask. Sets a mask to use while the user is editing.

Max(DateTime)

Configurates Max. Sets the latest time that the user can enter.

Min(DateTime)

Configurates Min. Sets the earliest time that the user can enter.

Name(string)

Sets the Name property.

OnClientInvalidInput(string)

Configurates the OnClientInvalidInput client event. Occurs when invalid input is detected.

OnClientValueChanged(string)

Configurates the OnClientValueChanged client event. Occurs after a new time is selected.

Step(int)

Configurates Step. Sets the number of minutes between entries in the drop-down list.

Value(DateTime?)

Configurates Value. Sets the current input time.