Skip to main content

MVCxSchedulerMonthView.SetDayOfWeekHeaderTemplateContent(String) Method

Allows you to provide a template for rendering the header indicating the day of week

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SetDayOfWeekHeaderTemplateContent(
    string content
)

Parameters

Name Type Description
content String

A string value specifying the template content.

Remarks

@Html.DevExpress().Scheduler(
    settings => {
        settings.Name = "scheduler";
        ...
        settings.Views.MonthView.SetDayOfWeekHeaderTemplateContent("<span style='color:red'>test</span>");
        ...
}).Bind(Model.Appointments, Model.Resources).GetHtml()

Online Demo

Scheduler - Templates

See Also