Gantt BarStyle Fonts

Posted by: john.morrelles on 22 March 2021, 4:21 pm EST

    • Post Options:
    • Link

    Posted 22 March 2021, 4:21 pm EST

    Is there a way to set the font color, bold, italics, etc. on Gantt bars?

  • Posted 23 March 2021, 12:57 am EST

    Hi,

    You can use the BarTextFont and BarTextForeColor property of the GanttView to customize the bar text shown in the chart view.

    c1GanttView1.BarTextFont = new Font("Calibri", 10,FontStyle.Italic);
    c1GanttView1.BarTextForeColor = Color.Red;
    

    Please refer to the sample attached.

    Regards

    Avnish

    GVBarText.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels