Share via


Storyboard.SetTarget(Timeline, DependencyObject) Method

Definition

Causes the specified Timeline to target the specified object.

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)

Parameters

timeline
Timeline

The timeline that targets the specified dependency object.

target
DependencyObject

The actual instance of the object to target.

Applies to