Kendo UI TimeDurationPickerColumn TagHelper TimeDurationPickerColumnTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("timedurationpicker-column", ParentTag = "timedurationpicker-columns", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class TimeDurationPickerColumnTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseTimeDurationPickerColumnTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-timedurationpicker name="timedurationpicker">
<timedurationpicker-columns>
<timedurationpicker-column name="hours" format="##"></timedurationpicker-column>
</timedurationpicker-columns>
</kendo-timedurationpicker>
Constructors
Initializes a new instance of the TimeDurationPickerColumnTagHelper class.
public TimeDurationPickerColumnTagHelper()
Properties
The format that will be used to display the column value in the input. The amount of # symbols should be equal to the largest amount of digits that the time unit can hold.
public string Format { get; set; }
Specifies the name of the time unit the column will hold. Can be set to the following values: "days"; "hours"; "minutes"; "seconds" or "milliseconds".
public string Name { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.