Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NContextMenu Class / CommandClick Event


In This Topic
    CommandClick Event (NContextMenu)
    In This Topic
    Raised when a command hosted by the NContextMenu is clicked.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DescriptionAttribute("Raised when a command hosted by the NContextMenu is clicked.")>
    Public Event CommandClick As CommandEventHandler
    'Usage
     
    
    Dim instance As NContextMenu
    Dim handler As CommandEventHandler
     
    AddHandler instance.CommandClick, handler
    [System.ComponentModel.Description("Raised when a command hosted by the NContextMenu is clicked.")]
    public event CommandEventHandler CommandClick
    Event Data

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

    PropertyDescription
    Gets the NCommand object associated with the event.  
    Gets/sets a value whether the event is handled.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also