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

Defines the fluent API for configuring CalendarMessagesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class CalendarMessagesSettingsBuilder

Inheritance: objectCalendarMessagesSettingsBuilder

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

Constructors

CalendarMessagesSettingsBuilder method.

C#
public CalendarMessagesSettingsBuilder(CalendarMessagesSettings container)
Parameters:containerCalendarMessagesSettings

Properties

Gets the settings being configured.

C#
protected CalendarMessagesSettings Container { get; }

Methods

Allows customization of the "Navigate to " text that would be used for title attribute of the Calendar title in the header. The label is also a button allowing navigation to parent view.

C#
public CalendarMessagesSettingsBuilder NavigateTo(string value)
Parameters:valuestring

The value for NavigateTo

Returns:

CalendarMessagesSettingsBuilder

Returns the current CalendarMessagesSettingsBuilder instance.

Example:
C#
@(Html.Kendo().Calendar()
.Name("calendar")
.Messages(msg => msg.NavigateTo("Go to"))
)

Allows customization of names of the views used in the title attribute of the Calendar title in the header. The label is also a button allowing navigation to parent view.

C#
public CalendarMessagesSettingsBuilder ParentViews(Action<CalendarMessagesParentViewsSettingsBuilder> configurator)
Parameters:configuratorAction<CalendarMessagesParentViewsSettingsBuilder>

The CalendarMessagesParentViewsSettingsBuilder for the parentviews setting.

Returns:

CalendarMessagesSettingsBuilder

Returns the current instance of CalendarMessagesSettingsBuilder .

Allows customization of the text of the Today button present in the widget in its modern rendering.

C#
public CalendarMessagesSettingsBuilder Today(string value)
Parameters:valuestring

The value for Today

Returns:

CalendarMessagesSettingsBuilder

Returns the current CalendarMessagesSettingsBuilder instance.

Allows customization of the week column header text. Set the value to make the widget compliant with web accessibility standards.

C#
public CalendarMessagesSettingsBuilder WeekColumnHeader(string value)
Parameters:valuestring

The value for WeekColumnHeader

Returns:

CalendarMessagesSettingsBuilder

Returns the current CalendarMessagesSettingsBuilder instance.