Hi,
Is there any property to change bar color?
If task is 0% percent I'd like to change bar color to red.
If task is 50% percent I'd like to change bar color to blue.
If task is 100% percent I'd like to change bar color to green.
thx
Marcell
Is there any progress?
There are no specific properties exposed to control the color of the various bar elements. The colors/brushes used by many of the bar related elements are defined within the control template based on the state of the element (e.g. active vs inactive, manual vs automation, critical, placeholder, etc). Depending on which type of bar you want to change you would restyle different elements. The main bar related elements are:
This page shows the various elements.
Hello Marcell,
Looking into the link that Andrew posted, could you please specify what part do you want to style?
Sincerely,
Lazar Nikolov
Infragistics
www.infragistics.com/support
GanttNormalTaskPresenter and CellControl.
I'd like to change color programmatically in server side.
You may modify the default styles for these elements and add as resources when you need them. These styles are located in the Infragistics folder on your machine in generic.shared.xaml file. The path is probably similar to this one: C:\Program Files (x86)\Infragistics\NetAdvantage 2013.1\Silverlight\DefaultStyles\Gantt
Please feel free to update this forum thread if you have any questions on the matter.