ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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.

In This Topic
    RepeatBetweenKeyframes Method
    In This Topic
    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