This event is fired when a shell command is to be executed, ie. via the context menu
It is possible to permit the execution of the shell command by modifying the BeforeShellCommandEventArgs
| C# | Visual Basic | Visual C++ |
public event EventHandler<BeforeShellCommandEventArgs> BeforeShellCommand
Public Event BeforeShellCommand As EventHandler(Of BeforeShellCommandEventArgs)
public: event EventHandler<BeforeShellCommandEventArgs^>^ BeforeShellCommand { void add (EventHandler<BeforeShellCommandEventArgs^>^ value); void remove (EventHandler<BeforeShellCommandEventArgs^>^ value); }