Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
How to remove Strike Through line in Gantt View Bar of Chart section
posted

Hello,

I created Task without Summary Task.

It displays strike through line of different color.

Is there any Property to remove that?

I am setting color for Bar in following way

If Not task.IsSummary Then

task.TimelineSettings.BarSettings.BarAppearance.BackColor = Color

End If

This Task is not Summary Task.

Please let me know if I need to provide more information.

Please see screenshot for more details.

Thanks,

Imran

Parents
  • 53790
    Verified Answer
    posted

    Hello Imran,

    There are few possible options to solve this task, but maybe the easiest way could be :

    Option 1: If you set BackColor and BackGradientStyle  properties. For example

    ultraCalendarInfo1.Tasks[0].TimelineSettings.BarSettings.BarAppearance.BackColor =Color.Yellow;

    ultraCalendarInfo1.Tasks[0].TimelineSettings.BarSettings.BarAppearance.BackGradientStyle = Infragistics.Win.GradientStyle.None;

    Option 2: If you set BackColor and BackColor2 properties. For example:

    ultraCalendarInfo1.Tasks[0].TimelineSettings.BarSettings.BarAppearance.BackColor =Color.Yellow;

    ultraCalendarInfo1.Tasks[0].TimelineSettings.BarSettings.BarAppearance.BackColor2 =Color.Yellow;

    Let me know if you have any questions.

     

Reply Children
No Data