Round To Options
By default, the gantt allows the end user to specify times down to seconds. This is often undesirable, you might only want the end-user to specify times in days, half-days, hours, etc. The gantt exposes a property that allows you to specify this "round up" settings:
this.ganttControl.RoundTimeEditsTo = RoundToOptions.Day;
The other round to options available are:
Auto, // currently uses 15 min rounding
FifteenMinutes,
ThirtyMinutes,
Hour,
Day,
HalfDay
These round up logic is applied when the end-user tries to resize the length of a task, edit the times of a task, etc.
Round To Day
This is the most commonly applied round up option and besides setting the RoundTimeEditsTo property, there are a few other settings that are usually required for gantts setup for "round to day".
The recommended settings are illustrated in the "ProjectGantt\Appearance\GanttRoundsToDay" sample.
� RadiantQ 2009 - 2019. All Rights Reserved.