Share via


Storyboard.GetTargetName(Timeline) Method

Definition

Gets the value of the Storyboard.TargetName XAML attached property from a target element.

public:
 static Platform::String ^ GetTargetName(Timeline ^ element);
 static winrt::hstring GetTargetName(Timeline const& element);
public static string GetTargetName(Timeline element);
function getTargetName(element)
Public Shared Function GetTargetName (element As Timeline) As String

Parameters

element
Timeline

The target element from which to get the value.

Returns

String

Platform::String

winrt::hstring

The Storyboard.TargetName value of the target element.

Applies to

See also