ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 Double, _
       ByVal repeatMode As RepeatMode, _
       ByVal iterationChangedHandler As Storyboard2.LoopIterationChangedDelegate, _
       ByVal id As IntPtr, _
       ByVal fRegisterForNextAnimationEvent As Boolean _
    ) 

    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