SetItemFeature(IToolStripItemItemProperties) Method

Summary
Register a System.Windows.Forms.ToolStripItem with a feature to be executed when the item is clicked.
Syntax
C#
C++/CLI
public void SetItemFeature( 
   IToolStripItemItemProperties item 
) 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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