Provides a fluent interface for configuring ongoing events settings for the Scheduler component.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SchedulerOngoingEventsSettingsBuilder
Inheritance: objectSchedulerOngoingEventsSettingsBuilder
Inherited Members
Constructors
public SchedulerOngoingEventsSettingsBuilder(SchedulerOngoingEventsSettings settings)
Methods
Specifies a custom CSS class applied to ongoing events. If not set, the default k-event-ongoing class will be applied.
public SchedulerOngoingEventsSettingsBuilder CssClass(string value)
The value for CssClass
Returns:Specifies if the ongoing events will be highlighted. Defaults to true.
public SchedulerOngoingEventsSettingsBuilder Enabled()
Specifies if the ongoing events will be highlighted. Defaults to true.
public SchedulerOngoingEventsSettingsBuilder Enabled(bool value)
The value for Enabled
Returns:The update interval (in milliseconds) of the ongoing events highlight. Defaults to 60000 (a minute).
public SchedulerOngoingEventsSettingsBuilder UpdateInterval(double value)
The value for UpdateInterval
Returns: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 SchedulerOngoingEventsSettingsBuilder UseLocalTimezone(bool value)
The value for UseLocalTimezone
Returns: