CalendarMessagesSettingsBuilder
Methods
NavigateTo(System.String)
Allows customization of the "Navigate to" text that would be used for the "title" attribute of the Calendar's header. The label is also a button allowing navigation to parent view.
Parameters
value - System.String
The value that sets the message text.
Example
@(Html.Kendo().Calendar()
.Name("calendar")
.Messages(msg => msg.NavigateTo("Go to"))
)
ParentViews(System.Action)
Allows customization of the names of the views used in the "title" attribute of the Calendar. The label is also a button allowing navigation to parent view.
Parameters
configurator - System.Action<CalendarMessagesParentViewsSettingsBuilder>
The configurator for the names of the parent views.
Example
@(Html.Kendo().Calendar()
.Name("calendar")
.Messages(msg => msg.ParentViews(pv => pv.Month("year view").Year("decade view").Decade("century view")))
)
WeekColumnHeader(System.String)
Allows customization of the week column header text. Set the value to make the widget compliant with web accessibility standards.
Parameters
value - System.String
The value for WeekColumnHeader
Example
@( Html.Kendo().Calendar()
.Name("calendar")
.WeekNumber(true)
.Messages(m => m.WeekColumnHeader("W"))
)