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
590
Milestone shape and color
posted

Hi

Is there any way to make milestones from an icon?

What about at least changing the color of the default ones(per individual milestone instance)?

Parents
  • 21795
    Verified Answer
    Offline posted

    Hello Florin,

    Thank you for posting in our forum.

    Yes, you can set the appearance of the milestone indicator. This allows you to set an image, back color, fore color, borders and so on, all the properties exposed by Appearance class. More about Appearance class you may find by following the next link http://help.infragistics.com/Help/Doc/WinForms/2016.1/CLR4.0/html/Infragistics4.Win.v16.1~Infragistics.Win.Appearance_members.html.

    The appearance of milestone indicator is exposed through BarSettingsMilestone property of TimelineSettings of the task. You can use code like this to set the back color or the image of the milestone indicator:

    //  Set back color to red

    MyTask.TimelineSettings.BarSettingsMilestone.EndIndicatorAppearance.BackColor = Color.Red;

    //  Set the image to some custom image

    MyTask.TimelineSettings.BarSettingsMilestone.EndIndicatorAppearance.Image = MyImage;

    Please let me know if you need any additional information.

    Thank you for using Infragistics Controls.

Reply Children