Storyboard::SetTarget Method (DependencyObject^, DependencyObject^)
.NET Framework (current version)
Makes the specified Timeline target the dependency object.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- element
-
Type:
System.Windows::DependencyObject^
The Timeline that should target the specified dependency object.
- value
-
Type:
System.Windows::DependencyObject^
The dependency object to target.
This method sets the Target 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.
Note |
|---|
The Target property is not serializable, because it can be set to any DependencyObject. It is not guaranteed that this object can be correctly referenced from XAML. |
.NET Framework
Available since 3.0
Available since 3.0
Show:
