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


In This Topic
    CommandExecuted Event
    In This Topic
    Occurs when the corresponding command of a ribbon item is executed.
    Syntax
    'Declaration
     
    
    Public Event CommandExecuted As EventHandler(Of ExecuteCommandEventArgs)
    'Usage
     
    
    Dim instance As RibbonBar
    Dim handler As EventHandler(Of ExecuteCommandEventArgs)
     
    AddHandler instance.CommandExecuted, handler
    public event EventHandler<ExecuteCommandEventArgs> CommandExecuted
    Event Data

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

    PropertyDescription
    Gets the name of command.  
    Gets or sets a boolean value indicating whether the command was executed.  
    Gets the value of command.  
    See Also