This example uses DevExpress Reports to print user appointments.
The key point is to obtain a collection of appointments and assign it to the report's DataSource property. The example uses the GetAppointments method to obtain appointments that fall within the time range specified by the GetVisibleIntervals method.
To display custom fields in the report, the example exposes custom fields (see the Task
class). The SetAppointmentFactory method replaces Scheduler Appointment objects with Task
class instances.
Important
You should own a DevExpress Reporting license.
- CustomEvents.cs (VB: CustomEvents.vb)
- Form1.cs (VB: Form1.vb)
- Form1.vb (VB: Form1.vb)
- MyAppointmentEditForm.cs (VB: MyAppointmentEditForm.vb)
- Task.cs (VB: Task.vb)
- XtraReport1.cs (VB: XtraReport1.vb)
(you will be redirected to DevExpress.com to submit your response)