Scheduler for UWP/WinRT
SetRelativeStartTime メソッド

StartEnd の間の相対値を定義する0〜1の範囲の倍精度浮動小数値。
指定された率に基づいて、VisualStartTime プロパティをStart プロパティ値と End プロパティ値の間の値に設定します。
構文
'宣言
 
Public Sub SetRelativeStartTime( _
   ByVal coefficient As System.Double _
) 
public void SetRelativeStartTime( 
   System.double coefficient
)

パラメータ

coefficient
StartEnd の間の相対値を定義する0〜1の範囲の倍精度浮動小数値。
解説
新しい概算値は次の式で計算されます。

VisualStartTime = Start + (End - Start) * coefficient。

計算された新しい値は、VisualStartTime プロパティの古い値と新しい値の差が SmallStartTimeChange プロパティ値の倍数になるように調整されます。これにより、C1.Xaml.Schedule.C1Scheduler.VisualIntervals コレクションの最初の VisualInterval を UI モデルが前提とする値に正しく揃えることができます。

このメソッドは、SetRelativeStartTimeCommand コマンドを実装します。

Requirements

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

参照

関連項目

C1Scheduler クラス
C1Scheduler メンバ

Send Feedback