SetItemFeature(IToolStripItemItemProperties) Method

Summary

Register 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 
) 
  
Public Overloads Sub SetItemFeature( _ 
   ByVal item As IToolStripItemItemProperties _ 
)  
public: 
void SetItemFeature(  
   IToolStripItemItemProperties^ item 
)  

Parameters

item
An IToolStripItemItemProperties to be registered. This should be of type System.Windows.Forms.ToolStripItem

Remarks

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

if the item is of type System.Windows.Forms.ToolStripSplitButton the feature will be executed when the System.Windows.Forms.ToolStripSplitButton.ButtonClick event is fired.

Requirements

Target Platforms

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

Leadtools.Medical.Workstation Assembly