Defines the fluent API for configuring SchedulerOngoingEventsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class SchedulerOngoingEventsSettingsBuilder<T> where T : class, ISchedulerEvent
Inheritance: objectSchedulerOngoingEventsSettingsBuilder<T>
Inherited Members
Constructors
SchedulerOngoingEventsSettingsBuilder method.
public SchedulerOngoingEventsSettingsBuilder(SchedulerOngoingEventsSettings<T> container)
Properties
Gets or sets the Container.
protected SchedulerOngoingEventsSettings<T> Container { get; }
Methods
Specifies a custom CSS class applied to ongoing events. If not set, the default k-event-ongoing class will be applied.
public SchedulerOngoingEventsSettingsBuilder<T> CssClass(string value)
The value for CssClass
Returns:SchedulerOngoingEventsSettingsBuilder<T>
Returns the current SchedulerOngoingEventsSettingsBuilder<T> instance.
Specifies if the ongoing events will be highlighted. Defaults to false.
public SchedulerOngoingEventsSettingsBuilder<T> Enabled()
SchedulerOngoingEventsSettingsBuilder<T>
Returns the current SchedulerOngoingEventsSettingsBuilder<T> instance.
Specifies if the ongoing events will be highlighted. Defaults to false.
public SchedulerOngoingEventsSettingsBuilder<T> Enabled(bool value)
The value for Enabled
Returns:SchedulerOngoingEventsSettingsBuilder<T>
Returns the current SchedulerOngoingEventsSettingsBuilder<T> instance.
The update interval (in milliseconds) of the ongoing events highlight. Defaults to 60000 (a minute).
public SchedulerOngoingEventsSettingsBuilder<T> UpdateInterval(double value)
The value for UpdateInterval
Returns:SchedulerOngoingEventsSettingsBuilder<T>
Returns the current SchedulerOngoingEventsSettingsBuilder<T> instance.
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<T> UseLocalTimezone(bool value)
The value for UseLocalTimezone
Returns:SchedulerOngoingEventsSettingsBuilder<T>
Returns the current SchedulerOngoingEventsSettingsBuilder<T> instance.