DesignerActionMethodItem Constructor (DesignerActionList, String, String, Boolean)
Initializes a new instance of the DesignerActionMethodItem class, with the specified method and display names, and a flag that indicates whether the item should appear in other user interface contexts.
Assembly: System.Design (in System.Design.dll)
public DesignerActionMethodItem( DesignerActionList actionList, string memberName, string displayName, bool includeAsDesignerVerb )
The DesignerActionList that contains the method this item is associated with.
The case-sensitive name of the method in the class derived from DesignerActionList to invoke through the panel item.
The panel text for this item.
A flag that specifies whether to also treat the associated method as a designer verb.
If the includeAsDesignerVerb parameter is set to true, then this item is also considered a DesignerVerb; therefore, it will be added to the component's design-time shortcut menu. In Visual Studio, a command will also be added to the Attributes pane of the Properties window. A list of designer verbs can be accessed through the designer's Verbs collection property.
Available since 2.0