C1.WPF.Schedule Namespace > C1Scheduler Class : SetRelativeStartTime Method |
'Declaration
Public Sub SetRelativeStartTime( _ ByVal coefficient As System.Double _ )
public void SetRelativeStartTime( System.double coefficient )
VisualStartTime = Start + (End - Start) * coefficient
After the new value is calculated, it is adjusted so that the old and new values of the VisualStartTime property become different in an amount that is multiple of the SmallStartTimeChange property value, that guarantees that the first VisualInterval in the VisualIntervals collection is properly aligned to be in synch with UI model suppositions.
This method implements the SetRelativeStartTimeCommand command.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2