[]
Creates a loop between two keyframes.
public void RepeatBetweenKeyframes(KeyFrame startKeyframe, KeyFrame endKeyframe, double cRepetition, RepeatMode repeatMode, Storyboard2.LoopIterationChangedDelegate iterationChangedHandler, IntPtr id, bool fRegisterForNextAnimationEvent)
Type | Name | Description |
---|---|---|
KeyFrame | startKeyframe | The keyframe at which the loop is to begin. |
KeyFrame | endKeyframe | The keyframe at which the loop is to end. endKeyframe must not occur earlier in the storyboard than startKeyframe. |
double | cRepetition | The number of times the loop is to be repeated; the last iteration of a loop can terminate fractionally between keyframes. |
RepeatMode | repeatMode | The pattern for the loop iteration. |
Storyboard2.LoopIterationChangedDelegate | iterationChangedHandler | The handler for each loop iteration event. |
IntPtr | id | The loop ID to pass to iterationChangeHandler. |
bool | 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. |