Udostępnij za pośrednictwem


Brush.PopulatePropertyInfo(String, AnimationPropertyInfo) Method

Definition

Defines a property that can be animated.

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)

Parameters

propertyName
String

Platform::String

winrt::hstring

The property that can be animated.

propertyInfo
AnimationPropertyInfo

Information about the property to be animated.

Implements

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)

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to