Storyboard.SetTargetProperty(DependencyObject, PropertyPath) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes the specified Timeline target the specified dependency property.
public:
static void SetTargetProperty(System::Windows::DependencyObject ^ element, System::Windows::PropertyPath ^ path);
public static void SetTargetProperty (System.Windows.DependencyObject element, System.Windows.PropertyPath path);
static member SetTargetProperty : System.Windows.DependencyObject * System.Windows.PropertyPath -> unit
Public Shared Sub SetTargetProperty (element As DependencyObject, path As PropertyPath)
Parameters
- element
- DependencyObject
The Timeline with which to associate the specified dependency property.
- path
- PropertyPath
A path that describe the dependency property to be animated.
Remarks
This method sets the TargetProperty attached property on the specified object. For more information about how storyboard targeting works, see TargetProperty. For more information about how attached properties work, see Attached Properties Overview.