ComponentOne Bitmap for UWP
SetStoryboardEventHandler Method

C1.UWP.DX Assembly > C1.Util.DX.Animation Namespace > Storyboard2 Class : SetStoryboardEventHandler Method
A delegate that handles storyboard status change events.
A delegate that handles storyboard update events.
If TRUE, registers the OnStoryboardStatusChanged event and includes those events in IUIAnimationManager2::EstimateNextEventTime, which estimates the time interval until the next animation event.
If TRUE, registers the OnStoryboardUpdated event and includes those events in IUIAnimationManager2::EstimateNextEventTime, which estimates the time interval until the next animation event.
Specifies a handler for storyboard events.
Syntax
'Declaration
 
Public Sub SetStoryboardEventHandler( _
   Optional ByVal statusChangedHandler As Storyboard2.StoryboardStatusChangedDelegate, _
   Optional ByVal updatedHandler As Storyboard2.StoryboardUpdatedDelegate, _
   Optional ByVal fRegisterStatusChangeForNextAnimationEvent As System.Boolean, _
   Optional ByVal fRegisterUpdateForNextAnimationEvent As System.Boolean _
) 

Parameters

statusChangedHandler
A delegate that handles storyboard status change events.
updatedHandler
A delegate that handles storyboard update events.
fRegisterStatusChangeForNextAnimationEvent
If TRUE, registers the OnStoryboardStatusChanged event and includes those events in IUIAnimationManager2::EstimateNextEventTime, which estimates the time interval until the next animation event.
fRegisterUpdateForNextAnimationEvent
If TRUE, registers the OnStoryboardUpdated event and includes those events in IUIAnimationManager2::EstimateNextEventTime, which estimates the time interval until the next animation event.
See Also

Reference

Storyboard2 Class
Storyboard2 Members