Brush.PopulatePropertyInfo(String, AnimationPropertyInfo) 方法

定義

定義可以產生動畫效果的屬性。

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)

參數

propertyName
String

Platform::String

winrt::hstring

可以產生動畫效果的屬性。

propertyInfo
AnimationPropertyInfo

要產生動畫效果之屬性的相關資訊。

實作

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 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於