Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.02 KB

compositor_createanimationpropertyinfo_640176504.md

File metadata and controls

37 lines (24 loc) · 1.02 KB
-api-id -api-type
M:Windows.UI.Composition.Compositor.CreateAnimationPropertyInfo
winrt method

Windows.UI.Composition.Compositor.CreateAnimationPropertyInfo

-description

Creates an instance of AnimationPropertyInfo.

-returns

Returns the created AnimationPropertyInfo object.

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