In this example, the Scheduler control is bound to a collection of custom objects and displays appointments in a Gantt View. The example also uses the Resources Tree to display a resource hierarchy.
To display appointments in a Gantt View, you should have three collections that implement the IBindingList
interface (we recommend you use System.ComponentModel.BindingList<T>
):
- Appointments
- Resources
- Appointment dependencies
Business objects should have specific properties for mapping to the corresponding properties of Scheduler appointments, resources, and appointment dependencies.
Note
You can also use the WinForms Gantt Control designed to address your project planning requirements regardless of dataset size and information complexity..
- CustomObjects.cs (VB: CustomObjects.vb)
- Form1.cs (VB: Form1.vb)
- How to bind the SchedulerControl to a collection of custom objects
- How to enable Gantt view for the XtraScheduler bound to MS SQL Server database
(you will be redirected to DevExpress.com to submit your response)