ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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.

In This Topic
    SetStoryboardEventHandler Method
    In This Topic
    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