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)
- C#
- VB
- F#
public sealed class ImplicitAnimationCollection : CompositionObject,
IDictionary<string, ICompositionAnimationBase>, ICollection<KeyValuePair<string, ICompositionAnimationBase>>,
IEnumerable<KeyValuePair<string, ICompositionAnimationBase>>, IEnumerable
Public NotInheritable Class ImplicitAnimationCollection
Inherits CompositionObject
Implements IDictionary(Of String, ICompositionAnimationBase),
ICollection(Of KeyValuePair(Of String, ICompositionAnimationBase)), IEnumerable(Of KeyValuePair(Of String, ICompositionAnimationBase)),
IEnumerable
[<SealedAttribute>]
type ImplicitAnimationCollection =
class
inherit CompositionObject
interface IDictionary<string, ICompositionAnimationBase>
interface ICollection<KeyValuePair<string, ICompositionAnimationBase>>
interface IEnumerable<KeyValuePair<string, ICompositionAnimationBase>>
interface IEnumerable
end
Inheritance | Object → CompositionObject → ImplicitAnimationCollection |
Implements | ICollection(KeyValuePair(String, ICompositionAnimationBase)), IDictionary(String, ICompositionAnimationBase), IEnumerable(KeyValuePair(String, 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) |
Item(String) | |
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() | |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets 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) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
TryGetValue(String, ICompositionAnimationBase) |