Hi!
We are evaluating your Gantt Chart and we have a doubt: our Class Model has an hierarchical predecessor structure (similar to ProjectTaskDependency). We are using the "XamGantt/Project/ListBackedProject" structure. How can I bind the predecessor structure (or convert it to ProjectTaskDependency collection) to use it in XamGantt?
Thanks in advance!
Dalton
No. While there is an IProjectTask interface - that is really only for the UI (i.e. how the xamGantt deals with the task information). The Project class always only deals with ProjectTask instances.
Hi, Andrew!
Is there any way to use any kind of interface to replace original ProjectTask with mine? I tryed to use Implicit implementation of IProjectTask but it seems not to work.
Thanks in advance.
The ListBackedProject is designed to deal with a flat collection of information that represents task information and it will build the hierarchy based on the flat task items. With regards to the predecessors it expects to get a delimited string in a specific structure that identifies the tasks to which the task item is dependent. Since you have your own hierarchical structure you probably wouldn't use ListBackedProject but in essence would do what it does. You would need to construct the ProjectTask instances based on your task hierarchy and keep it in sync as changes are made to the ProjectTask object.
We have the same doubt about the subtasks structure (it is similar to ProjectTask structure). How coud I use the same hierarchical collection?
Thanks in advance,