DesignerActionMethodItem Constructor (DesignerActionList, String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the DesignerActionMethodItem class, with the specified method and display names.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public DesignerActionMethodItem(
	DesignerActionList actionList,
	string memberName,
	string displayName
)

Parameters

actionList
Type: System.ComponentModel.Design.DesignerActionList

The DesignerActionList that contains the method this item is associated with.

memberName
Type: System.String

The case-sensitive name of the method in the class derived from DesignerActionList to invoke through the panel item.

displayName
Type: System.String

The panel text for this item.

The DesignerActionMethodItem constructor sets the Category and Description properties to null, and the IncludeAsDesignerVerb property to false.

.NET Framework
Available since 2.0
Return to top
Show: