Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / BeforeRightClick Event


In This Topic
    BeforeRightClick Event
    In This Topic
    Occurs when an object is right-clicked, before the default right-click action.
    Syntax
    'Declaration
     
    
    Public Event BeforeRightClick As EventHandler(Of BeforeRightClickEventArgs)
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As EventHandler(Of BeforeRightClickEventArgs)
     
    AddHandler instance.BeforeRightClick, handler
    public event EventHandler<BeforeRightClickEventArgs> BeforeRightClick
    Event Data

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

    PropertyDescription
    Gets or sets a boolean value indicates whether the default right-click action is performed when the procedure is finished.  
    Gets or sets the ContextMenuStrip associated with this event.  
    Get type of context menu.  
    See Also