New to Telerik UI for WinFormsStart a free 30-day trial

Today Indicator

Updated over 6 months ago

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:

C#
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;

See Also

In this article
See Also
Not finding the help you need?
Contact Support