Skip to content

DevExpress-Examples/XAF_how_to_use_gantt_control_in_xaf_win_solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files to look at:

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

Scenario

This example demonstrates the simplest integration solution for the WinForms Gantt Control in XAF WinForms. Gantt will display a list of business objects (tasks) as a project schedule: image

Implementation Steps

Step 1. Add the GanttSolution.Module/BusinessObjects/ITask.cs file to your YourSolutionName.Module project. Implement the GanttSolution.Module.BusinessObjects.ITask interface in the business class that will be a task record in the Gantt Control data source (research GanttSolution.Module.BusinessObjects.Task.cs for details).

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

  • GanttSolution.Win\Controllers\RibbonCustomizationWindowController.cs
  • GanttSolution.Win\Editors\CustomGanttEditor.cs

For more information on custom List Editors and related customization scenarios, see List Editors | How to: Access the List Editor's Control.

Step 3. Invoke the Model Editor for the YourSolutionName.Win project, navigate to the Views | YourTaskClass_ListView node and set EditorType to GanttSolution.Module.Win.Editors.CustomGanttEditor. For more information, see Customize List Editors.

NOTE: This example is not a complete solution. Thoroughly test, extend and modify its code to meet your business requirements.


To integrate ASPxGantt into an XAF ASP.NET project, create a custom list editor as we described at T831607 - Web - How to use ASPxGantt in XAF

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published