Skip to main content

CompositionVisualCollection Class

A collection of CompositionVisual objects

Definition

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

public class CompositionVisualCollection : CompositionObject, 
IList<CompositionVisual>, ICollection<CompositionVisual>, IEnumerable<CompositionVisual>,
IEnumerable
InheritanceObjectCompositionObject → CompositionVisualCollection
ImplementsICollection(CompositionVisual), IEnumerable(CompositionVisual), IList(CompositionVisual), IEnumerable

Properties

CompositorThe associated Compositor
(Inherited from CompositionObject)
Count 
ImplicitAnimationsThe collection of implicit animations attached to this object.
(Inherited from CompositionObject)
IsDisposed
(Inherited from CompositionObject)
IsReadOnly 
Item(Int32) 

Methods

Add(CompositionVisual) 
Clear() 
Contains(CompositionVisual) 
CopyTo(CompositionVisual[], Int32) 
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)
GetEnumerator() 
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
IndexOf(CompositionVisual) 
Insert(Int32, CompositionVisual) 
InsertAbove(CompositionVisual, CompositionVisual) 
InsertAtBottom(CompositionVisual) 
InsertAtTop(CompositionVisual) 
InsertBelow(CompositionVisual, CompositionVisual) 
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
RegisterForSerialization()
(Inherited from CompositionObject)
Remove(CompositionVisual) 
RemoveAll() 
RemoveAt(Int32) 
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