Skip to main content

SchedulerSettings.InitAppointmentDisplayText Property

Allows you to specify custom appointment text and a description.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public AppointmentDisplayTextEventHandler InitAppointmentDisplayText { get; set; }

Property Value

Type Description
AppointmentDisplayTextEventHandler

A delegate method that allows you to implement custom text.

Remarks

The InitAppointmentDisplayText event occurs before an appointment is rendered when its text and description are initialized. This event allows you to display custom text and description in appointments.

settings.InitAppointmentDisplayText = (s, e) => {
    e.Text = e.Text.Substring(0, 5) + "...";
    e.Description = "";
};
See Also