MVCxSchedulerDayView.SetHorizontalAppointmentTemplateContent(String) Method
Allows you to provide a template for rendering the horizontal appointment.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
content | String | A string value specifying the template content. |
Remarks
@Html.DevExpress().Scheduler(
settings => {
settings.Name = "scheduler";
...
settings.Views.DayView.SetHorizontalAppointmentTemplateContent("<span style='color:red'>test</span>");
...
}).Bind(Model.Appointments, Model.Resources).GetHtml()
Online Demo
See Also