Skip to main content
A newer version of this page is available. .

MVCxSchedulerDayView.SetRightTopCornerTemplateContent(Action<RightTopCornerTemplateContainer>) Method

Allows you to provide a template for rendering the right top corner area of the scheduler.

Namespace: DevExpress.Web.Mvc

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

Declaration

public void SetRightTopCornerTemplateContent(
    Action<RightTopCornerTemplateContainer> contentMethod
)

Parameters

Name Type Description
contentMethod Action<DevExpress.Web.ASPxScheduler.RightTopCornerTemplateContainer>

A method to which a template content rendering is delegated.

Remarks

@Html.DevExpress().Scheduler(
    settings => {
        settings.Name = "scheduler";
        ...
        settings.Views.DayView.SetRightTopCornerTemplateContent(c =>
        {
            ViewContext.Writer.Write("<div><label>" + "custom content" + "</label></div>");
        });
        ...
}).Bind(Model.Appointments, Model.Resources).GetHtml()

Online Demo

Scheduler - Templates

See Also