System.Nullable<float> AnimationIterationCount { get; set; }

robot_2Generated
code_blocksInput

Description

Represents the animation-iteration-count CSS property.

Usage

This property specifies the number of times an animation cycle should be played before stopping. It can be set to a specific number of iterations or to infinite for continuous looping.

Example

// Example of setting the AnimationIterationCount property
var styles = new BaseStyles();
styles.AnimationIterationCount = 3.0f; // The animation will play 3 times

// Setting it to infinite
styles.AnimationIterationCount = null; // The animation will loop indefinitely