10021 : Changing the background colours?

Question< ?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

1) Change the background colour of the datescaler of the time item area?

2) Change the background colour of the time item area?  I cant seem to stop every other row appearing grey

Resolution

Both the DateScaler and the TimeItem are their own components owned by the Gantt by aggregation.

Go like this to control its properties;

Gantt.DateScaler.BackColor=Color.Green;

Gantt.TimeItemArea.BackColor=Color.Green;

To control the stripes on the time item area:

Set Gantt.PyjamasColor and Gantt.PyjamasGradientColor or set Gantt.DrawPyjamas=false to turn of the pyjama-effect.