ComponentOne Bitmap for UWP
RepeatBetweenKeyframes Method

C1.UWP.DX Assembly > C1.Util.DX.Animation Namespace > Storyboard2 Class : RepeatBetweenKeyframes Method
The keyframe at which the loop is to begin.
The keyframe at which the loop is to end. endKeyframe must not occur earlier in the storyboard than startKeyframe.
The number of times the loop is to be repeated; the last iteration of a loop can terminate fractionally between keyframes.
The pattern for the loop iteration.
The handler for each loop iteration event.
The loop ID to pass to iterationChangeHandler.
If true, specifies that iterationChangeHandler will be incorporated into the estimate of the time interval until the next animation event that is returned by the IUIAnimationManager2::EstimateNextEventTime method.
Creates a loop between two keyframes.
Syntax
'Declaration
 
Public Sub RepeatBetweenKeyframes( _
   ByVal startKeyframe As KeyFrame, _
   ByVal endKeyframe As KeyFrame, _
   ByVal cRepetition As System.Double, _
   ByVal repeatMode As RepeatMode, _
   ByVal iterationChangedHandler As Storyboard2.LoopIterationChangedDelegate, _
   ByVal id As System.IntPtr, _
   ByVal fRegisterForNextAnimationEvent As System.Boolean _
) 
public void RepeatBetweenKeyframes( 
   KeyFrame startKeyframe,
   KeyFrame endKeyframe,
   System.double cRepetition,
   RepeatMode repeatMode,
   Storyboard2.LoopIterationChangedDelegate iterationChangedHandler,
   System.IntPtr id,
   System.bool fRegisterForNextAnimationEvent
)

Parameters

startKeyframe
The keyframe at which the loop is to begin.
endKeyframe
The keyframe at which the loop is to end. endKeyframe must not occur earlier in the storyboard than startKeyframe.
cRepetition
The number of times the loop is to be repeated; the last iteration of a loop can terminate fractionally between keyframes.
repeatMode
The pattern for the loop iteration.
iterationChangedHandler
The handler for each loop iteration event.
id
The loop ID to pass to iterationChangeHandler.
fRegisterForNextAnimationEvent
If true, specifies that iterationChangeHandler will be incorporated into the estimate of the time interval until the next animation event that is returned by the IUIAnimationManager2::EstimateNextEventTime method.
See Also

Reference

Storyboard2 Class
Storyboard2 Members