AddCommand(string,bool,EventHandler) Method

Summary
Adds a command to the property grid.
Syntax
C#
C++/CLI
public CommandID AddCommand( 
   string name, 
   bool enable, 
   EventHandler handler 
) 
public: 
CommandID^ AddCommand(  
   String^ name, 
   bool enable, 
   EventHandler^ handler 
)  

Parameters

name
The name command.

enable
if set to true enable the command.

handler
The event handler that performs the actions for the command.

Return Value

The CommandID associated with the command.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.