Bagikan melalui


CompositionObject.ConnectAnimation(String, CompositionAnimation) Metode

Definisi

Menyambungkan dan animasi.

public:
 virtual CompositionPropertyAnimator ^ ConnectAnimation(Platform::String ^ propertyName, CompositionAnimation ^ animation) = ConnectAnimation;
CompositionPropertyAnimator ConnectAnimation(winrt::hstring const& propertyName, CompositionAnimation const& animation);
public CompositionPropertyAnimator ConnectAnimation(string propertyName, CompositionAnimation animation);
function connectAnimation(propertyName, animation)
Public Function ConnectAnimation (propertyName As String, animation As CompositionAnimation) As CompositionPropertyAnimator

Parameter

propertyName
String

Platform::String

winrt::hstring

Properti untuk dianimasikan.

animation
CompositionAnimation

Animasinya.

Mengembalikan

Animator properti.

Keterangan

Penting

API ini hanya ada di Windows 10, versi 1507 (Build 10240).

Berlaku untuk