ComponentOne GanttView for WinForms
Appearance and Styling / Today Line Color
In This Topic
    Today Line Color
    In This Topic

    Today-Line indicates the current day in the grid. You can easily customize the color of the Today-Line by using the TodayLineColor property of the C1GanttView class.

    Below code snippet shows how you can change the today-line color in the GanttView.

    C#
    Copy Code
    //Set the today-line color
    c1GanttView1.TodayLineColor = Color.Red;