ComponentOne GanttView for WinForms
In This Topic
    Task Start and Finish Time
    In This Topic

    GanttView facilitates you to schedule your project from finish date or start date as per your convinience. To do so, you can use the ScheduleFrom property of the Project class. After scheduling your project, you can specify the start date and finish date of your project/task by using the Start and Finish properties of the Task class.

    An image that displays how you can the start and finish date of your task in the GanttView.

    To set the start/finish date at design time, follow the given steps:

    1. Open the C1GanttView.Tasks Collection Editor.
    2. Click on the dropdown arrow next to the Start/Finish property. A dropdown calendar appears.
    3. Select the date from the dropdown calendar and set the time format in the increment button.

    To set start and finish date programatically, refer to the code given below:

    C#
    Copy Code
    //Define start date of Task1
    Task1.Start = new DateTime(2015, 06, 5);
    
    See Also