Spread Windows Forms 13.0 Product Documentation
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.  
    Remarks
    Current affected objects: shape.
    Requirements

    Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

    See Also