This example integrates the WinForms Gantt Control in an XAF WinForms application. Gantt displays a list of business objects (tasks) as a project schedule.
Follow the steps below to add the Gantt Control to your application:
-
Implement a business class that contains task records in the Gantt Control data source (copy ITask.cs and Task.cs files to YourSolutionName.Module/BusinessObjects folder).
-
Copy the following files to the YourSolutionName.Win project and build your solution:
-
Double click the YourSolutionName.Win/Model.xafml file to invoke the Model Editor. Navigate to the Views | YourTaskClass_ListView node and set
EditorType
toGanttSolution.Module.Win.Editors.CustomGanttEditor
.
Note This example is not a complete solution. You can test, extend, and modify its code to meet your business requirements.
- List Editors
- How to: Access the List Editor's Control
- Customize List Editors
- Web - How to use ASPxGantt in XAF
(you will be redirected to DevExpress.com to submit your response)