| C1.Xaml.Schedule アセンブリ > C1.Xaml.Schedule 名前空間 > C1Scheduler クラス : SetRelativeStartTime メソッド |
'宣言 Public Sub SetRelativeStartTime( _ ByVal coefficient As System.Double _ )
public void SetRelativeStartTime( System.double coefficient )
VisualStartTime = Start + (End - Start) * coefficient。
計算された新しい値は、VisualStartTime プロパティの古い値と新しい値の差が SmallStartTimeChange プロパティ値の倍数になるように調整されます。これにより、C1.Xaml.Schedule.C1Scheduler.VisualIntervals コレクションの最初の VisualInterval を UI モデルが前提とする値に正しく揃えることができます。
このメソッドは、SetRelativeStartTimeCommand コマンドを実装します。
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