Bagikan melalui


CompositionObject.PopulatePropertyInfo(String, AnimationPropertyInfo) Metode

Definisi

Menentukan properti yang dapat dianimasikan.

public:
 virtual void PopulatePropertyInfo(Platform::String ^ propertyName, AnimationPropertyInfo ^ propertyInfo) = PopulatePropertyInfo;
void PopulatePropertyInfo(winrt::hstring const& propertyName, AnimationPropertyInfo const& propertyInfo);
public void PopulatePropertyInfo(string propertyName, AnimationPropertyInfo propertyInfo);
function populatePropertyInfo(propertyName, propertyInfo)
Public Sub PopulatePropertyInfo (propertyName As String, propertyInfo As AnimationPropertyInfo)

Parameter

propertyName
String

Platform::String

winrt::hstring

Properti yang dapat dianimasikan.

propertyInfo
AnimationPropertyInfo

Informasi tentang properti yang akan dianimasikan.

Penerapan

M:Windows.UI.Composition.IAnimationObject.PopulatePropertyInfo(System.String,Windows.UI.Composition.AnimationPropertyInfo) M:Windows.UI.Composition.IAnimationObject.PopulatePropertyInfo(Platform::String,Windows.UI.Composition.AnimationPropertyInfo) M:Windows.UI.Composition.IAnimationObject.PopulatePropertyInfo(winrt::hstring,Windows.UI.Composition.AnimationPropertyInfo)

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1809 (diperkenalkan dalam 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v7.0)

Berlaku untuk