Storyboard::GetTargetName Method (DependencyObject^)

 

Retrieves the TargetName value of the specified Timeline.

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

public:
static String^ GetTargetName(
	DependencyObject^ element
)

Parameters

element
Type: System.Windows::DependencyObject^

The timeline from which to retrieve the TargetName.

Return Value

Type: System::String^

The name of the dependency object targeted by element.

This method gets 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
Return to top
Show: