Skip to content

DevExpress-Examples/xaf-win-gantt-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF WinForms - How to Use the Gantt Control to Display a List of Tasks

This example integrates the WinForms Gantt Control in an XAF WinForms application. Gantt displays a list of business objects (tasks) as a project schedule.

image

Implementation Details

Follow the steps below to add the Gantt Control to your application:

  1. 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).

  2. Copy the following files to the YourSolutionName.Win project and build your solution:

  3. Double click the YourSolutionName.Win/Model.xafml file to invoke the Model Editor. Navigate to the Views | YourTaskClass_ListView node and set EditorType to GanttSolution.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.

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use WinForms Gantt control in an XAF WinForms application.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 6