CompositionObject Class

Base class of the composition API representing a node in the visual tree structure. Composition objects are the visual tree structure on which all other features of the composition API use and build on. The API allows developers to define and create one or many CompositionVisual objects each representing a single node in a Visual tree.

Definition

Properties

Compositor The associated Compositor
ImplicitAnimations The collection of implicit animations attached to this object.
IsDisposed 

Methods

DisposeReleases all resources used by the CompositionObject
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RegisterForSerialization 
StartAnimation(String, CompositionAnimation) Connects an animation with the specified property of the object and starts the animation.
StartAnimationGroup(ICompositionAnimationBase) Starts an animation group. The StartAnimationGroup method on CompositionObject lets you start CompositionAnimationGroup. All the animations in the group will be started at the same time on the object.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also