BCGControlBar Library for .NET
ExecuteCommand Event (CommandPanel)




Occurs when any command object clicked on the command panel. Executes a set of commands related to the clicked command.
Syntax
'Declaration
 
Public Event ExecuteCommand As ExecuteCommandEventHandler
'Usage
 
Dim instance As CommandPanel
Dim handler As ExecuteCommandEventHandler
 
AddHandler instance.ExecuteCommand, handler
public event ExecuteCommandEventHandler ExecuteCommand
public: __event ExecuteCommandEventHandler* ExecuteCommand
public:
event ExecuteCommandEventHandler^ ExecuteCommand
Event Data

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

PropertyDescription
CommandID Specifies the identifier of the command to execute.
CommandObject Specifies the command object which commands should be executed.
ParentPanel Specifies the parent command panel of the command object to execute the commands.
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

Reference

CommandPanel Class
CommandPanel Members

Send Feedback