Scheduler for WPF
SetRelativeStartTime メソッド (C1Scheduler)

C1.WPF.Schedule アセンブリ > C1.WPF.Schedule 名前空間 > C1Scheduler クラス : SetRelativeStartTime メソッド
A double value in a range between 0 and 1 that defines a relative value between Start and End.
Sets the VisualStartTime property to a value between the Start and End property values based on the specified coefficient.
シンタックス
'宣言
 
Public Sub SetRelativeStartTime( _
   ByVal coefficient As System.Double _
) 
public void SetRelativeStartTime( 
   System.double coefficient
)

パラメータ

coefficient
A double value in a range between 0 and 1 that defines a relative value between Start and End.
解説
The approximate new value is calculated with the following formula:

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.

参照

C1Scheduler クラス
C1Scheduler メンバ