New to Telerik UI for WinForms? Download free 30-day trial

Today Indicator

The today indicator represents the current date and time in the graphical view of RadGanttView. There are two indicators you can show. One is positioned over the timeline and the other is directly over the graphical view.

WinForms RadGanttView Today Indicator

You can control which one is visible through the ShowTodayIndicator and the ShowTimelineTodayIndicator properties.

You can also directly access the two indicators:

GanttViewTodayIndicatorElement todayIndicator = this.radGanttView1.GanttViewElement.GraphicalViewElement.TodayIndicatorElement;
todayIndicator.BackColor = Color.Red;
todayIndicator.BackColor2 = Color.Red;
GanttViewTimelineTodayIndicatorElement timelineTodayIndicator = this.radGanttView1.GanttViewElement.GraphicalViewElement.TimelineTodayIndicatorElement;
timelineTodayIndicator.BackColor = Color.Green;
timelineTodayIndicator.BackColor2 = Color.Green;
In this article