Skip to main content

TdxGanttControlChartView.OnGetTaskColor Event

Allows you to change a task color.

Declaration

property OnGetTaskColor: TdxGanttControlChartViewGetTaskColorEvent read; write;

Remarks

This event occurs every time the View redraws tasks. Assign a color to the AColor parameter to paint the task passed as the ATask parameter.

Refer to the TdxGanttControlChartViewGetTaskColorEvent type description for information on available options.

Note

The ATask parameter is nil if a user creates a task in the chart area with the mouse.

See Also