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

Defines the fluent API for configuring CalendarMessagesParentViewsSettings

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class CalendarMessagesParentViewsSettingsBuilder

Inheritance: objectCalendarMessagesParentViewsSettingsBuilder

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

Constructors

C#
public CalendarMessagesParentViewsSettingsBuilder(CalendarMessagesParentViewsSettings container)
Parameters:containerCalendarMessagesParentViewsSettings

Properties

C#
protected CalendarMessagesParentViewsSettings Container { get; }

Methods

Allows customization of parent view name used in the "title" attribute of the Calendar when the current view is the 'decade'. The default text is 'century view'.

C#
public CalendarMessagesParentViewsSettingsBuilder Decade(string value)
Parameters:valuestring

The value that sets the message text.

Returns:

CalendarMessagesParentViewsSettingsBuilder

Example:
C#
@(Html.Kendo().Calendar()
.Name("calendar")
.Messages(msg => msg.ParentViews(pv => pv.Decade("previous view")))
)

Allows customization of parent view name used in the "title" attribute of the Calendar when the current view is the 'month'. The default text is 'year view'.

C#
public CalendarMessagesParentViewsSettingsBuilder Month(string value)
Parameters:valuestring

The value that sets the message text.

Returns:

CalendarMessagesParentViewsSettingsBuilder

Example:
C#
@(Html.Kendo().Calendar()
.Name("calendar")
.Messages(msg => msg.ParentViews(pv => pv.Month("previous view")))
)

Allows customization of parent view name used in the "title" attribute of the Calendar when the current view is the 'year'. The default text is 'decade view'.

C#
public CalendarMessagesParentViewsSettingsBuilder Year(string value)
Parameters:valuestring

The value that sets the message text.

Returns:

CalendarMessagesParentViewsSettingsBuilder

Example:
C#
@(Html.Kendo().Calendar()
.Name("calendar")
.Messages(msg => msg.ParentViews(pv => pv.Year("previous view")))
)