PredecessorFieldName (of the Object type) - the predecessor task’s ID. The DependencyMappings specify data source fields that contain the following data: This data source allows you to support all dependency types. This field supports finish-to-start dependencies only.ĭependencySource - specifies the data source that contains dependencies. It starts when the latest predecessor finishes. PredecessorsFieldName (of the Object type) - the task’s predecessors.DurationFieldName (of the TimeSpan type) - the task duration.StartDateFieldName, FinishDateFieldName (of the DateTime type) - the.TextFieldName (of the String type) - the text displayed next to the task in the chart.These identifiers are used to create the tree structure. KeyFieldName, ParentFieldName (of the Object type) - the task ID and its parent ID.The TreeListMappings and ChartMappings specify data source fields that contain the following data: Use the following properties to assign a data source to the control:ĭataSource - specifies the data source that contains tasks. You can bind the control to a data source in code or in the designer. In the control’s smart tag menu, click Create Ribbon and Dock in Parent Container to add the ribbon with chart commands to the form and make the Gantt control fill all the available space. Drop the GanttControl from the Toolbox window onto the main application form. Add the Control to a FormĬreate a new project in Visual Studio. This tutorial shows how to use the GanttControl - how to populate it with data, specify the workweek schedule, allow users to modify tasks in the chart, enable a modal form to edit tasks in the task list, and how to customize task appearance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |