Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.03 KB

animationpropertyinfo_getresolvedcompositionobject_788113811.md

File metadata and controls

36 lines (24 loc) · 1.03 KB
-api-id -api-type
M:Windows.UI.Composition.AnimationPropertyInfo.GetResolvedCompositionObject
winrt method

Windows.UI.Composition.AnimationPropertyInfo.GetResolvedCompositionObject

-description

Retrieves the composition object associated with the AnimationPropertyInfo.

-returns

The composition object associated with the AnimationPropertyInfo.

-remarks

-see-also

-examples

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