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 引進)

適用於

另請參閱