AnimationPropertyInfo.GetResolvedCompositionObjectProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the animatable property from the composition object associated with the AnimationPropertyInfo
.
public:
virtual Platform::String ^ GetResolvedCompositionObjectProperty() = GetResolvedCompositionObjectProperty;
winrt::hstring GetResolvedCompositionObjectProperty();
public string GetResolvedCompositionObjectProperty();
function getResolvedCompositionObjectProperty()
Public Function GetResolvedCompositionObjectProperty () As String
Returns
The animatable property from the composition object associated with the AnimationPropertyInfo
.
Windows requirements
Device family |
Windows 10, version 2104 (introduced in 10.0.20348.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v12.0)
|
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();