Storyboard::SetTargetName Method (DependencyObject^, String^)
.NET Framework (current version)
Makes the specified Timeline target the dependency object with the specified name.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- element
-
Type:
System.Windows::DependencyObject^
The Timeline that should target the specified dependency object.
- name
-
Type:
System::String^
The name of the dependency object to target.
This method sets the TargetName attached property on the specified object. For more information about how storyboard targeting works, see TargetName. For more information about how attached properties work, see Attached Properties Overview.
.NET Framework
Available since 3.0
Available since 3.0
Show: