Compartir a través de


AnimationPropertyInfo.GetResolvedCompositionObjectProperty Método

Definición

Recupera la propiedad animable del objeto de composición asociado a AnimationPropertyInfo.

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

Devoluciones

String

Platform::String

winrt::hstring

Propiedad animable del objeto de composición asociado a AnimationPropertyInfo.

Requisitos de Windows

Familia de dispositivos
Windows 10, version 2104 (se introdujo en la versión 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v12.0)

Ejemplos

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

Se aplica a