KeyFrame Class

Summary

Stores data regarding a specific key point and value in an animation.
Namespace
Avalonia.Animation
Interfaces
Base Types
graph TD Base0["AvaloniaList<IAnimationSetter>"]-->Type Base1["object"]-->Base0 Interface0["IAvaloniaList<IAnimationSetter>"]-.->Type Interface1["IList<IAnimationSetter>"]-.->Type Interface2["ICollection<IAnimationSetter>"]-.->Type Interface3["IAvaloniaReadOnlyList<IAnimationSetter>"]-.->Type Interface4["IReadOnlyList<IAnimationSetter>"]-.->Type Interface5["IReadOnlyCollection<IAnimationSetter>"]-.->Type Interface6["IEnumerable<IAnimationSetter>"]-.->Type Interface7["INotifyCollectionChanged"]-.->Type Interface8["INotifyPropertyChanged"]-.->Type Interface9["IList"]-.->Type Interface10["ICollection"]-.->Type Interface11["IEnumerable"]-.->Type Interface12["INotifyCollectionChangedDebug"]-.->Type click Interface12 "/api/Avalonia.Diagnostics/INotifyCollectionChangedDebug" Type["KeyFrame"] class Type type-node

Syntax

public class KeyFrame : AvaloniaList<IAnimationSetter>, IAvaloniaList<IAnimationSetter>, 
    IList<IAnimationSetter>, ICollection<IAnimationSetter>, 
    IAvaloniaReadOnlyList<IAnimationSetter>, IReadOnlyList<IAnimationSetter>, 
    IReadOnlyCollection<IAnimationSetter>, IEnumerable<IAnimationSetter>, INotifyCollectionChanged, 
    INotifyPropertyChanged, IList, ICollection, IEnumerable, INotifyCollectionChangedDebug

Constructors

Properties

Name Value Summary
Cue Cue
Gets or sets the cue of this KeyFrame.
KeyTime TimeSpan
Gets or sets the key time of this KeyFrame.

Extension Methods

Name Value Summary
CreateDerivedList<IAnimationSetter, TDerived>(Func<IAnimationSetter, TDerived>) IAvaloniaReadOnlyList<TDerived>
ForEachItem<IAnimationSetter>(Action<int, IAnimationSetter>, Action<int, IAnimationSetter>, Action, bool) IDisposable
Invokes an action for each item in a collection and subsequently each item added or removed from the collection.
ForEachItem<IAnimationSetter>(Action<IAnimationSetter>, Action<IAnimationSetter>, Action, bool) IDisposable
Invokes an action for each item in a collection and subsequently each item added or removed from the collection.
TrackItemPropertyChanged<IAnimationSetter>(Action<Tuple<object, PropertyChangedEventArgs>>) IDisposable
Listens for property changed events from all items in a collection.