共用方式為


AnimationPropertyInfo.GetResolvedCompositionObjectProperty 方法

定義

從與 相關聯的 AnimationPropertyInfo 組合物件擷取可動畫屬性。

public:
 virtual Platform::String ^ GetResolvedCompositionObjectProperty() = GetResolvedCompositionObjectProperty;
winrt::hstring GetResolvedCompositionObjectProperty();
public string GetResolvedCompositionObjectProperty();
function getResolvedCompositionObjectProperty()
Public Function GetResolvedCompositionObjectProperty () As String

傳回

String

Platform::String

winrt::hstring

與 相關聯 AnimationPropertyInfo 之組合物件的可動畫屬性。

範例

// Create an AnimationPropertyInfo object that will hold the mapping between the custom
// animatable property and the corresponding composition object.
AnimationPropertyInfo propertyInfo = _compositor.CreateAnimationPropertyInfo();

animatableObject.PopulatePropertyInfo("CustomOffset", propertyInfo);

// Get the resolved composition object and property for "CustomOffset".
CompositionObject resolvedObject = propertyInfo.GetResolvedCompositionObject();
String resolvedProperty = propertyInfo.GetResolvedCompositionObjectProperty();

適用於