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


In This Topic
    CommandExecuting Event
    In This Topic
    Occurs when the corresponding command of a ribbon item is executing.
    Syntax
    'Declaration
     
    
    Public Event CommandExecuting As EventHandler(Of ExecuteCommandEventArgs)
    'Usage
     
    
    Dim instance As RibbonBar
    Dim handler As EventHandler(Of ExecuteCommandEventArgs)
     
    AddHandler instance.CommandExecuting, handler
    public event EventHandler<ExecuteCommandEventArgs> CommandExecuting
    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