DesignerActionMethodItem Constructor (DesignerActionList^, String^, String^, String^)

 

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

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

public:
DesignerActionMethodItem(
	DesignerActionList^ actionList,
	String^ memberName,
	String^ displayName,
	String^ category
)

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.

category
Type: System::String^

The case-sensitive String used to group similar items on the panel.

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

For more information about how the category parameter is used to group items on a panel, see the GetSortedActionItems method.

.NET Framework
Available since 2.0
Return to top
Show: