Skip to main content

TimeCellsControlBase.InitAppointmentDisplayText Event

Enables you to modify the text in the appointment.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.1.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

Declaration

public event AppointmentDisplayTextEventHandler InitAppointmentDisplayText

Event Data

The InitAppointmentDisplayText event's data class is AppointmentDisplayTextEventArgs. The following properties provide information specific to this event:

Property Description
Appointment Provides access to the appointment for which the SchedulerControl.InitAppointmentDisplayText event is fired.
Description Gets or sets the text that will be displayed as an appointment’s description.
Text Gets or sets the text that will be displayed as the appointment’s text (subject and location together).
ViewInfo Provides access to the characteristics of the appointment prepared for display.

Remarks

The InitAppointmentDisplayText event occurs before an appointment is printed when its text and description are initialized. This event lets you print custom text and description within appointments.

This event is analogous to the SchedulerControl.InitAppointmentDisplayText event of the Scheduler control.

The event parameter’s AppointmentEventArgs.Appointment property enables you to identify the currently processed appointment. The AppointmentDisplayTextEventArgs.Text and AppointmentDisplayTextEventArgs.Description properties specify the text and description within the appointment.

See Also