Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

Printing appointment details using the XtraReports Suite

$
0
0

This example illustrates how you can print the appointment details for the appointments currently displayed in the Scheduler by means of the XtraReports Suite.
The key point is to obtain a collection of appointments and assign it to the report's DataSource. To accomplish this, the GetAppointments method is used to get a collection of appointments which fall within the time range specified by the GetVisibleIntervals method.

To display custom fields in the report, the custom fields should be exposed as common object properties. So a wrapper class Task is implemented solely for this purpose. Using the SetAppointmentFactory method, Scheduler's Appointment objects are replaced with the Task class instances. A TaskCollection class holds Task objects and can be used as the report's data source.

Note that you should have a valid license to the XtraReports Suite.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>