Condividi tramite


AnimationPropertyInfo.GetResolvedCompositionObjectProperty Metodo

Definizione

Recupera la proprietà animabile dall'oggetto composizione associato all'oggetto AnimationPropertyInfo.

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

Restituisce

String

Platform::String

winrt::hstring

Proprietà animabile dell'oggetto composizione associato all'oggetto AnimationPropertyInfo.

Esempio

// 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();

Si applica a