Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.79 KB

doublekeyframecollection.md

File metadata and controls

29 lines (18 loc) · 1.79 KB
-api-id -api-type
T:Windows.UI.Xaml.Media.Animation.DoubleKeyFrameCollection
winrt class

Windows.UI.Xaml.Media.Animation.DoubleKeyFrameCollection

-description

Represents a collection of DoubleKeyFrame objects that can be individually accessed by index. DoubleKeyFrameCollection is the value of the DoubleAnimationUsingKeyFrames.KeyFrames property.

-remarks

Enumerating the collection in C# or Microsoft Visual Basic

A DoubleKeyFrameCollection is enumerable, so you can use language-specific syntax such as foreach in C# to enumerate the items in the collection. The compiler does the type-casting for you and you won't need to cast to IEnumerable<DoubleKeyFrame> explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to IEnumerable<T> with a DoubleKeyFrame constraint.

-examples

-see-also

DoubleAnimationUsingKeyFrames.KeyFrames, IVector<T>, IIterable<T>, IList<T>