Nevron.UI.WinForm.Controls Namespace / NCommandBarsManager Class / CommandContextExecuting Event


CommandContextExecuting Event
Syntax
'Declaration
 
<System.ComponentModel.DescriptionAttribute("Notifies that a command, sharing the specified context is abound to be executed. This event is useful if you want to prevent a command from being executed under certain conditions.")>
Public Event CommandContextExecuting As CommandContextCancelEventHandler
 
'Usage
 
Dim instance As NCommandBarsManager
Dim handler As CommandContextCancelEventHandler
 
AddHandler instance.CommandContextExecuting, handler
Event Data

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

PropertyDescription
 
(Inherited from Nevron.UI.WinForm.Controls.CommandContextEventArgs)
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