Share via


Storyboard.SetTargetName(Timeline, String) Method

Definition

Sets the value of the Storyboard.TargetName XAML attached property for a target element.

public static void SetTargetName(Timeline element, string name);

Parameters

element
Timeline

The target element to set the value for.

name
String

The Storyboard.TargetName value of the target element to set. This should correspond to an existing Name or x:Name value on the UI element that the animation targets.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also