StoryboardSetTargetName Method |
Sets the value of the Storyboard.TargetName XAML attached property for a
target element.
Namespace: Windows.UI.Xaml.Media.AnimationAssembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax public static void SetTargetName(
Timeline element,
string name
)
Parameters
- element
- Type: Windows.UI.Xaml.Media.AnimationTimeline
The target element to set the value for. - name
- Type: SystemString
The Storyboard.TargetName value of the target element to set. This should
correspond to an existing Name or x:Name value on the element that the animation
targets.
See Also