[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.InputTimeTagHelper

InputTimeTagHelper Class

ITagHelper implementation for InputTime<T>.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
[HtmlTargetElement("c1-input-time")]
public class InputTimeTagHelper : ComboBoxBaseTagHelper<object, InputTime<object>>, ITagHelper, ITagHelperComponent, ITemplateTagHelper
<HtmlTargetElement("c1-input-time")>
Public Class InputTimeTagHelper
    Inherits ComboBoxBaseTagHelper(Of Object, InputTime(Of Object))
    Implements ITagHelper, ITagHelperComponent, ITemplateTagHelper

Constructors

Name Description
InputTimeTagHelper()

Properties

Name Description
For

An expression to be evaluated against the current model.

Format

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

InputType

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

InvalidInput

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

Mask

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

Max

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

Min

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

Name

Gets or sets the Name property.

Step

Gets or sets the Step property.

Value

Configurates Value. Sets the current input time.

ValueChanged

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

Methods

Name Description
ProcessAttributes(TagHelperContext, object)

Processes the attributes set in the taghelper.