Storyboard.SetTarget(Timeline, DependencyObject) 方法

定义

使指定的 时间线 以指定对象为目标。

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

要面向的对象的实际实例。

适用于