Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TimeCellsControlBase.InitAppointmentDisplayText Event

Enables you to modify the text in the appointment.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.2.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