Spread Windows Forms 17
GrapeCity.Spreadsheet.WinForms.Ribbon Assembly / GrapeCity.Spreadsheet.WinForms.Ribbon Namespace / RibbonBar Class / BeforeRefreshState Event


In This Topic
    BeforeRefreshState Event
    In This Topic
    Occurs before the ribbon bar start updating state of items.
    Syntax
    'Declaration
     
    
    Public Event BeforeRefreshState As EventHandler(Of StateEventArgs)
    'Usage
     
    
    Dim instance As RibbonBar
    Dim handler As EventHandler(Of StateEventArgs)
     
    AddHandler instance.BeforeRefreshState, handler
    public event EventHandler<StateEventArgs> BeforeRefreshState
    Event Data

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

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets a boolean value indicating whether the state can be combined with previous state.  
    Gets a boolean value indicating whether the contextual state is changed.  
    Gets the StateType indicates the type of state change.  
    See Also