SetItemFeature(IToolStripItemItemProperties) Method

Summary
Registers a System.Windows.Forms.ToolStripItem with a feature to be executed when the item is clicked.
Syntax
C#
VB
C++
public void SetItemFeature( 
   IToolStripItemItemProperties item 
) 
  
Overloads Sub SetItemFeature( _ 
   ByVal item As IToolStripItemItemProperties _ 
)  
void SetItemFeature(  
   IToolStripItemItemProperties^ item 
)  

Parameters

Remarks

If the item is not of type System.Windows.Forms.ToolStripItem this will throw an System.ArgumentException.

If the item is a System.Windows.Forms.ToolStripSplitButton the feature will be executed when the System.Windows.Forms.ToolStripSplitButton.ButtonClick event is fired.

Requirements

Target Platforms

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

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.