Storyboard::SetTargetProperty Method (DependencyObject^, PropertyPath^)

 

Makes the specified Timeline target the specified dependency property.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
static void SetTargetProperty(
	DependencyObject^ element,
	PropertyPath^ path
)

Parameters

element
Type: System.Windows::DependencyObject^

The Timeline with which to associate the specified dependency property.

path
Type: System.Windows::PropertyPath^

A path that describe the dependency property to be animated.

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.

.NET Framework
Available since 3.0
Return to top
Show: