Accordion for WinForms | ComponentOne
C1.Win.Accordion Namespace / C1AccordionPage Class / ExpandStateChanging Event

In This Topic
    ExpandStateChanging Event
    In This Topic
    Occurs before the IsExpanded property is changed.
    Syntax
    'Declaration
     
    
    Public Event ExpandStateChanging As EventHandler(Of PageExpandStateChangingEventArgs)
    public event EventHandler<PageExpandStateChangingEventArgs> ExpandStateChanging
    Event Data

    The event handler receives an argument of type PageExpandStateChangingEventArgs containing data related to this event. The following PageExpandStateChangingEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the value that IsExpanded is about to change to.  
    Gets the C1AccordionPage whose expanded state is changing.  
    See Also