Task bar colors in Gantt Chart Library and Project Management Library for Windows® Forms

Is it possible to have a parameter defined at the task level that would trigger the Gantt Chart control from Gantt Chart Library for Windows® Forms or Project Management Library for Windows® Forms to show task bars using different task bar colors?

If you use the GanttChartView control within Gantt Chart Library for Windows® Forms you should add a Brush and/or margin Pen property at task object level, and set its/their name as the value of the WorkBrushMember and/or PenMember property(-ies).

If you use the ProjectView control within Project Management Library for Windows® Forms you can use the SetTaskDrawingSettings method to set a task level brush and pen.