RepeatBetweenKeyframes Method
In This Topic
Creates a loop between two keyframes.
Syntax
'Declaration
Public Sub RepeatBetweenKeyframes( _
ByVal As KeyFrame, _
ByVal As KeyFrame, _
ByVal As System.Double, _
ByVal As RepeatMode, _
ByVal iterationChangedHandler As Storyboard2.LoopIterationChangedDelegate, _
ByVal As System.IntPtr, _
ByVal As System.Boolean _
)
public void RepeatBetweenKeyframes(
KeyFrame ,
KeyFrame ,
System.double ,
RepeatMode ,
Storyboard2.LoopIterationChangedDelegate iterationChangedHandler,
System.IntPtr ,
System.bool
)
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