UIElement.PopulatePropertyInfoOverride(String, AnimationPropertyInfo) 方法

定义

在派生类中重写时,定义可进行动画处理的属性。

protected:
 virtual void PopulatePropertyInfoOverride(Platform::String ^ propertyName, AnimationPropertyInfo ^ animationPropertyInfo) = PopulatePropertyInfoOverride;
void PopulatePropertyInfoOverride(winrt::hstring const& propertyName, AnimationPropertyInfo const& animationPropertyInfo);
protected virtual void PopulatePropertyInfoOverride(string propertyName, AnimationPropertyInfo animationPropertyInfo);
function populatePropertyInfoOverride(propertyName, animationPropertyInfo)
Protected Overridable Sub PopulatePropertyInfoOverride (propertyName As String, animationPropertyInfo As AnimationPropertyInfo)

参数

propertyName
String

Platform::String

winrt::hstring

可进行动画处理的属性。

animationPropertyInfo
AnimationPropertyInfo

有关要进行动画处理的属性的信息。

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

适用于

另请参阅