[]
Specifies a handler for storyboard events.
public void SetStoryboardEventHandler(Storyboard2.StoryboardStatusChangedDelegate statusChangedHandler = null, Storyboard2.StoryboardUpdatedDelegate updatedHandler = null, bool fRegisterStatusChangeForNextAnimationEvent = false, bool fRegisterUpdateForNextAnimationEvent = false)
Public Sub SetStoryboardEventHandler(Optional statusChangedHandler As Storyboard2.StoryboardStatusChangedDelegate = Nothing, Optional updatedHandler As Storyboard2.StoryboardUpdatedDelegate = Nothing, Optional fRegisterStatusChangeForNextAnimationEvent As Boolean = False, Optional fRegisterUpdateForNextAnimationEvent As Boolean = False)
| Type | Name | Description |
|---|---|---|
| Storyboard2.StoryboardStatusChangedDelegate | statusChangedHandler | A delegate that handles storyboard status change events. |
| Storyboard2.StoryboardUpdatedDelegate | updatedHandler | A delegate that handles storyboard update events. |
| bool | fRegisterStatusChangeForNextAnimationEvent | If TRUE, registers the OnStoryboardStatusChanged event and includes those events in IUIAnimationManager2::EstimateNextEventTime, which estimates the time interval until the next animation event. |
| bool | fRegisterUpdateForNextAnimationEvent | If TRUE, registers the OnStoryboardUpdated event and includes those events in IUIAnimationManager2::EstimateNextEventTime, which estimates the time interval until the next animation event. |