ImplicitAnimationCollection Class
Definition
A collection of animations triggered when a condition is met.
public class ImplicitAnimationCollection
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
Methods
| Name | Description |
|---|---|
| Add | No summary available. |
| Clear | No summary available. |
| ContainsKey | No summary available. |
| GetEnumerator | No summary available. |
| GetView | No summary available. |
| HasKey | No summary available. |
| Insert | No summary available. |
| Lookup | No summary available. |
| Remove | No summary available. |
| TryGetValue | No summary available. |
| StartAnimation | Connects an animation with the specified property of the object and starts the animation. Inherited from CompositionObject. |
| StartAnimationGroup | 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. |
| StopAnimation | Disconnects an animation from the specified property and stops the animation. Inherited from CompositionObject. |
| StopAnimationGroup | Stops an animation group. Inherited from CompositionObject. |
Add Method
public void Add(string key, Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase value)
Parameters
key string
value Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase
Clear Method
public void Clear()
ContainsKey Method
public bool ContainsKey(string key)
Parameters
key string
Returns
bool
GetEnumerator Method
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string,Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase>> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string,Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase>>
GetView Method
public System.Collections.Generic.IReadOnlyDictionary<string, Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase> GetView()
Returns
System.Collections.Generic.IReadOnlyDictionary<string, Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase>
HasKey Method
public bool HasKey(string key)
Parameters
key string
Returns
bool
Insert Method
public void Insert(string key, Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase animation)
Parameters
key string
animation Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase
Lookup Method
public Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase Lookup(string key)
Parameters
key string
Returns
Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase
Remove Method
public bool Remove(string key)
Parameters
key string
Returns
bool
TryGetValue Method
public bool TryGetValue(string key, Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase& value)
Parameters
key string
value Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase&
Returns
bool
Properties
| Name | Description |
|---|---|
| Count | No summary available. |
| Item | No summary available. |
| Size | No summary available. |
| Compositor | The associated Compositor Inherited from CompositionObject. |
| ImplicitAnimations | The collection of implicit animations attached to this object. Inherited from CompositionObject. |
| IsDisposed | Inherited from CompositionObject. |
Count Property
public int Count { get; set; }
Item Property
public Avalonia.Rendering.Composition.Animations.ICompositionAnimationBase Item { get; set; }
Size Property
public uint Size { get; set; }