Skip to main content

CompositionVisual Class

The base visual object in the composition visual hierarchy.

Definition

Namespace: Avalonia.Rendering.Composition
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public abstract class CompositionVisual : CompositionObject
InheritanceObjectCompositionObject → CompositionVisual
DerivedAvalonia.Rendering.Composition.CompositionContainerVisual

Properties

AnchorPoint 
CenterPoint 
ClipToBounds 
CompositorThe associated Compositor
(Inherited from CompositionObject)
ImplicitAnimationsThe collection of implicit animations attached to this object.
(Inherited from CompositionObject)
IsDisposed
(Inherited from CompositionObject)
Offset 
Opacity 
OpacityMask 
Orientation 
RenderOptions 
RotationAngle 
Scale 
Size 
Visible 

Methods

Dispose()
(Inherited from 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()
(Inherited from CompositionObject)
StartAnimation(String, CompositionAnimation)Connects an animation with the specified property of the object and starts the animation.
(Inherited from CompositionObject)
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.
(Inherited from CompositionObject)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Rendering.Composition Namespace