Kendo UI ongoingEvents TagHelper SchedulerOngoingEventsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("ongoing-events", ParentTag = "kendo-scheduler", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class SchedulerOngoingEventsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseSchedulerOngoingEventsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-scheduler name="scheduler">
<ongoing-events css-class="my-ongoing-events-class" />
</kendo-scheduler>
Constructors
Initializes a new instance of the SchedulerOngoingEventsSettingsTagHelper class.
public SchedulerOngoingEventsSettingsTagHelper()
Properties
Specifies a custom CSS class applied to ongoing events. If not set, the default k-event-ongoing class will be applied.
public string CssClass { get; set; }
Specifies if the ongoing events will be highlighted. Defaults to false.
public bool? Enabled { get; set; }
The update interval (in milliseconds) of the ongoing events highlight. Defaults to 60000 (a minute).
public double? UpdateInterval { get; set; }
If set to false the ongoing events will be highlighted in the scheduler timezone. That means only events that happen at the moment (according to their start and end data) will be highlighted. In order the highlight on the ongoing events to be visually in sync with the currentTimeMarker in the widget, the useLocalTimezone configuration options of both must be set to the same value. This way the highlighted ongoing events will be placed over the currentTimeMarker.
public bool? UseLocalTimezone { 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.