New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Provides a fluent interface for configuring ongoing events settings for the Scheduler component.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SchedulerOngoingEventsSettingsBuilder

Inheritance: objectSchedulerOngoingEventsSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public SchedulerOngoingEventsSettingsBuilder(SchedulerOngoingEventsSettings settings)
Parameters:settingsSchedulerOngoingEventsSettings

Methods

Specifies a custom CSS class applied to ongoing events. If not set, the default k-event-ongoing class will be applied.

C#
public SchedulerOngoingEventsSettingsBuilder CssClass(string value)
Parameters:valuestring

The value for CssClass

Returns:

SchedulerOngoingEventsSettingsBuilder

Specifies if the ongoing events will be highlighted. Defaults to true.

C#
public SchedulerOngoingEventsSettingsBuilder Enabled()
Returns:

SchedulerOngoingEventsSettingsBuilder

Specifies if the ongoing events will be highlighted. Defaults to true.

C#
public SchedulerOngoingEventsSettingsBuilder Enabled(bool value)
Parameters:valuebool

The value for Enabled

Returns:

SchedulerOngoingEventsSettingsBuilder

The update interval (in milliseconds) of the ongoing events highlight. Defaults to 60000 (a minute).

C#
public SchedulerOngoingEventsSettingsBuilder UpdateInterval(double value)
Parameters:valuedouble

The value for UpdateInterval

Returns:

SchedulerOngoingEventsSettingsBuilder

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.

C#
public SchedulerOngoingEventsSettingsBuilder UseLocalTimezone(bool value)
Parameters:valuebool

The value for UseLocalTimezone

Returns:

SchedulerOngoingEventsSettingsBuilder