ImplicitAnimationCollection Class

A collection of animations triggered when a condition is met.

Definition

Namespace: Avalonia.Rendering.Composition.Animations
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public sealed class ImplicitAnimationCollection : CompositionObject, 
	IDictionary<string, ICompositionAnimationBase>, ICollection<KeyValuePair<string, ICompositionAnimationBase>>, 
	IEnumerable<KeyValuePair<string, ICompositionAnimationBase>>, IEnumerable
Inheritance
Object    CompositionObject    ImplicitAnimationCollection
Implements
ICollectionKeyValuePairString, ICompositionAnimationBase, IDictionaryString, ICompositionAnimationBase, IEnumerableKeyValuePairString, ICompositionAnimationBase, IEnumerable

Remarks

Implicit animations let you drive animations by specifying trigger conditions rather than requiring the manual definition of animation behavior. They help decouple animation start logic from core app logic. You define animations and the events that should trigger these animations. Currently the only available trigger is animated property change. When expression is used in ImplicitAnimationCollection a special keyword `this.FinalValue` will represent the final value of the animated property that was changed

Properties

Compositor The associated Compositor
(Inherited from CompositionObject)
Count 
ImplicitAnimations The collection of implicit animations attached to this object.
(Inherited from CompositionObject)
IsDisposed
(Inherited from CompositionObject)
ItemString 
Size 

Methods

Add(String, ICompositionAnimationBase) 
Clear 
ContainsKey(String) 
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetEnumerator 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetView 
HasKey(String) 
Insert(String, ICompositionAnimationBase) 
Lookup(String) 
Remove(String) 
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)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetValue(String, ICompositionAnimationBase) 

See Also