CompositionAnimation.Target Property


The target of the animation.

Equivalent WinUI property: Microsoft.UI.Composition.CompositionAnimation.Target.

 property Platform::String ^ Target { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Target();

void Target(winrt::hstring value);
public string Target { get; set; }
var string =; = string;
Public Property Target As String

Property Value


The target of the animation.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to