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
Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract class CompositionObject
Public MustInherit Class CompositionObject
[<AbstractClassAttribute>]
type CompositionObject = class end
Properties
Compositor | The associated Compositor |
ImplicitAnimations | The collection of implicit animations attached to this object. |
IsDisposed |
Methods
Dispose() | Releases all resources used by the CompositionObject |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates 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. |
ToString() | Returns a string that represents the current object. (Inherited from Object) |