AnimationPropertyInfo.GetResolvedCompositionObject 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索与 AnimationPropertyInfo
关联的组合对象。
public:
virtual CompositionObject ^ GetResolvedCompositionObject() = GetResolvedCompositionObject;
CompositionObject GetResolvedCompositionObject();
public CompositionObject GetResolvedCompositionObject();
function getResolvedCompositionObject()
Public Function GetResolvedCompositionObject () As CompositionObject
返回
与 AnimationPropertyInfo
关联的合成对象。
示例
// 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();