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

Kendo UI Scheduler component

Definition

Constructors

Initializes a new instance of the Scheduler<T> class.

C#
public Scheduler(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

The template used to render the "all day" scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; isAllDay Boolean - if true the event is "all day"; resources Array - the event resources; start Date - the event start date or title String - the event title.

C#
public string AllDayEventTemplate { get; set; }

Implements: IScheduler.AllDayEventTemplate

The handler that returns the template used for AllDayEventTemplate

C#
public string AllDayEventTemplateHandler { get; set; }

The id of the script element used for AllDayEventTemplate

C#
public string AllDayEventTemplateId { get; set; }

Implements: IScheduler.AllDayEventTemplateId

If set to true the scheduler will display a slot for "all day" events.

C#
public bool? AllDaySlot { get; set; }

Implements: IScheduler.AllDaySlot

If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. That will also apply for data sources for the resources used in the widget. By default the widget will bind to the data source specified in the configuration.

C#
public bool? AutoBind { get; set; }

If set to false the "current time" marker of the scheduler would not be displayed.

C#
public SchedulerCurrentTimeMarkerSettings<T> CurrentTimeMarker { get; }

Gets or sets the CustomToolbar.

C#
public SchedulerCustomToolbarSettings CustomToolbar { get; }

Gets or sets the DataSource.

C#
public DataSource DataSource { get; }

Implements: IScheduler.DataSource

Gets or sets the DataSourceId.

C#
public string DataSourceId { get; set; }

The current date of the scheduler. Used to determine the period which is displayed by the widget.

C#
public DateTime? Date { get; set; }

Implements: IScheduler.Date

The template used to render the date header cells.By default the scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier represents the abbreviated name of the week day and will be localized using the current Kendo UI culture. If the developer wants to control the day and month order, then one needs to define a custom template.The fields which can be used in the template are: date - represents the major tick date..

C#
public string DateHeaderTemplate { get; set; }

Implements: IScheduler.DateHeaderTemplate

The handler that returns the template used for DateHeaderTemplate

C#
public string DateHeaderTemplateHandler { get; set; }

The id of the script element used for DateHeaderTemplate

C#
public string DateHeaderTemplateId { get; set; }

Implements: IScheduler.DateHeaderTemplateId

Editable member.

C#
public SchedulerEditableSettings<T> Editable { get; set; }

The end time of the week and day views. The scheduler will display events ending before the endTime.

C#
public DateTime? EndTime { get; set; }

Implements: IScheduler.EndTime

The template used to render the scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; resources Array - the event resources; start Date - the event start date or title String - the event title.

C#
public string EventTemplate { get; set; }

Implements: IScheduler.EventTemplate

The handler that returns the template used for EventTemplate

C#
public string EventTemplateHandler { get; set; }

The id of the script element used for EventTemplate

C#
public string EventTemplateId { get; set; }

Implements: IScheduler.EventTemplateId

If set to false the footer of the scheduler would not be displayed.

C#
public SchedulerFooterSettings<T> Footer { get; }

Gets or sets the Group.

C#
public SchedulerGroupSettings Group { get; set; }

Implements: IScheduler.Group

The template used to render the group headers of scheduler day, week, workWeek and timeline views.The fields which can be used in the template are: text String - the group text; color String - the group color; value - the group value; field String - the field of the scheduler event which contains the resource id; title String - the 'title' option of the resource or name String - the 'name' option of the resource.

C#
public string GroupHeaderTemplate { get; set; }

The handler that returns the template used for GroupHeaderTemplate

C#
public string GroupHeaderTemplateHandler { get; set; }

The id of the script element used for GroupHeaderTemplate

C#
public string GroupHeaderTemplateId { get; set; }

The height of the widget. Numeric values are treated as pixels.

C#
public double? Height { get; set; }

Implements: IScheduler.Height

The number of minutes represented by a major tick.

C#
public int? MajorTick { get; set; }

Implements: IScheduler.MajorTick

The template used to render the major ticks.By default the scheduler renders the time using the current culture time format.The fields which can be used in the template are: date - represents the major tick date..

C#
public string MajorTimeHeaderTemplate { get; set; }

Implements: IScheduler.MajorTimeHeaderTemplate

The handler that returns the template used for MajorTimeHeaderTemplate

C#
public string MajorTimeHeaderTemplateHandler { get; set; }

The id of the script element used for MajorTimeHeaderTemplate

C#
public string MajorTimeHeaderTemplateId { get; set; }

Implements: IScheduler.MajorTimeHeaderTemplateId

Constraints the maximum date which can be selected via the scheduler navigation.

C#
public DateTime? Max { get; set; }

The configuration of the scheduler messages. Use this option to customize or localize the scheduler messages.

C#
public SchedulerMessagesSettings<T> Messages { get; }

Implements: IScheduler<T>.Messages

Constraints the minimum date which can be selected via the scheduler navigation.

C#
public DateTime? Min { get; set; }

The number of time slots to display per major tick.

C#
public int? MinorTickCount { get; set; }

Implements: IScheduler.MinorTickCount

The template used to render the minor ticks.By default the scheduler renders a " ".The fields which can be used in the template are: date - represents the major tick date..

C#
public string MinorTimeHeaderTemplate { get; set; }

Implements: IScheduler.MinorTimeHeaderTemplate

The handler that returns the template used for MinorTimeHeaderTemplate

C#
public string MinorTimeHeaderTemplateHandler { get; set; }

The id of the script element used for MinorTimeHeaderTemplate

C#
public string MinorTimeHeaderTemplateId { get; set; }

Implements: IScheduler.MinorTimeHeaderTemplateId

Defines the mobile modes supported by Kendo UI Scheduler for ASP.NET MVC

C#
public MobileMode? Mobile { get; set; }

The settings for the ongoing events highlight. The highlight is disabled by default. If you need to turn it on, set this option to true, or use a configuration object with its nested options.

C#
public SchedulerOngoingEventsSettings<T> OngoingEvents { get; }

Configures the Kendo UI Scheduler PDF export settings.

C#
public SchedulerPdfSettings<T> Pdf { get; }

The template used to render the recurrence trigger summary in the desktop event editor.The template data contains the following fields: rule—The parsed recurrence rule object. or recurrenceRule—The serialized recurrence rule string..

C#
public string RecurrenceRuleLabelTemplate { get; set; }

The handler that returns the template used for RecurrenceRuleLabelTemplate

C#
public string RecurrenceRuleLabelTemplateHandler { get; set; }

The id of the script element used for RecurrenceRuleLabelTemplate

C#
public string RecurrenceRuleLabelTemplateId { get; set; }

Resources member.

C#
public IList<SchedulerResource<T>> Resources { get; }

Implements: IScheduler<T>.Resources

If set to true the user would be able to select scheduler cells and events. By default selection is disabled.

C#
public bool? Selectable { get; set; }

Implements: IScheduler.Selectable

If set to true the view will be initially shown in business hours mode. By default view is displayed in full day mode.

C#
public bool? ShowWorkHours { get; set; }

Implements: IScheduler.ShowWorkHours

If set to true the scheduler will snap events to the nearest slot during dragging (resizing or moving). Set it to false to allow free moving and resizing of events.

C#
public bool? Snap { get; set; }

Implements: IScheduler.Snap

The start time of the week and day views. The scheduler will display events starting after the startTime.

C#
public DateTime? StartTime { get; set; }

Implements: IScheduler.StartTime

The timezone which the scheduler will use to display the scheduler appointment dates. By default the current system timezone is used. This is an acceptable default when the scheduler widget is bound to local array of events. It is advisable to specify a timezone if the scheduler is bound to a remote service. That way all users would see the same dates and times no matter their configured system timezone.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page.

C#
public string Timezone { get; set; }

Implements: IScheduler.Timezone

ToolbarCommands member.

C#
public IList<SchedulerToolbarCommand> ToolbarCommands { get; }

Implements: IScheduler.ToolbarCommands

Views member.

C#
public IList<SchedulerViewBase> Views { get; }

Implements: IScheduler.Views

The width of the widget. Numeric values are treated as pixels.

C#
public double? Width { get; set; }

Implements: IScheduler.Width

Sets the end of the work day when the "Show business hours" button is clicked.

C#
public DateTime? WorkDayEnd { get; set; }

Implements: IScheduler.WorkDayEnd

WorkDays member.

C#
public int[] WorkDays { get; set; }

Sets the start of the work day when the "Show business hours" button is clicked.

C#
public DateTime? WorkDayStart { get; set; }

Implements: IScheduler.WorkDayStart

The end of working week (index based).

C#
public int? WorkWeekEnd { get; set; }

Implements: IScheduler.WorkWeekEnd

The start of working week (index based).

C#
public int? WorkWeekStart { get; set; }

Implements: IScheduler.WorkWeekStart

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML content.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

The text writer.

Overrides: WidgetBase.WriteHtml(TextWriter)

WriteInitializationScript method.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteInitializationScript(TextWriter)