Aracılığıyla paylaş


CompositionObject.StopAnimation(String) Method

Definition

Disconnects an animation from the specified property and stops the animation.

public:
 virtual void StopAnimation(Platform::String ^ propertyName) = StopAnimation;
void StopAnimation(winrt::hstring const& propertyName);
public void StopAnimation(string propertyName);
function stopAnimation(propertyName)
Public Sub StopAnimation (propertyName As String)

Parameters

propertyName
String

Platform::String

winrt::hstring

The name of the property to disconnect the animation from.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to