Share via


Storyboard.SetTarget(Timeline, DependencyObject) メソッド

定義

指定した Timeline を指定したオブジェクトをターゲットにします。

public:
 static void SetTarget(Timeline ^ timeline, DependencyObject ^ target);
 static void SetTarget(Timeline const& timeline, DependencyObject const& target);
public static void SetTarget(Timeline timeline, DependencyObject target);
function setTarget(timeline, target)
Public Shared Sub SetTarget (timeline As Timeline, target As DependencyObject)

パラメーター

timeline
Timeline

指定した依存関係オブジェクトを対象とするタイムライン。

target
DependencyObject

ターゲットにするオブジェクトの実際のインスタンス。

適用対象