AddCommand(string,EventHandler) Method

Summary
Adds a command to the property grid.
Syntax
C#
C++
public CommandID AddCommand( 
   string name, 
   EventHandler handler 
) 
vb[VB Syntax] 
Public Overloads Function AddCommand( _ 
   ByVal _name_ As String, _ 
   ByVal _handler_ As EventHandler _ 
) As CommandID 
public: 
CommandID^ AddCommand(  
   String^ name, 
   EventHandler^ handler 
)  

Parameters

name
The name of 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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.