Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSmartImage.AnimationLoopCount Property

Returns the number of the stored image’s animation playback loops in the multiple-run animation mode.

#Declaration

Delphi
property AnimationLoopCount: Integer read;

#Property Value

Type
Integer

#Remarks

This property value is obtained from the source animated image file. You can use the AnimationLoopCount and AnimationLoopIndex properties to track the number of remaining animation sequence runs if the multiple-run animation mode is active.

The AnimationLoopCount property returns 0 if either of the following conditions is met:

  • The stored image is not animated;

  • The stored image’s animation sequence is looped indefinitely.

Note

The AnimationLoopCount property value is ignored if the AnimationLoop property is set to bTrue or bFalse.

See Also