Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlChartView.OnGetTaskColor Event

In This Article

Allows you to change a task color.

#Declaration

Delphi
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