DesignerActionTextItem Constructor (String^, String^)

 

Initializes a new instance of the DesignerActionTextItem class.

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

public:
DesignerActionTextItem(
	String^ displayName,
	String^ category
)

Parameters

displayName
Type: System::String^

The panel text for this item.

category
Type: System::String^

The category used to group similar items on the panel.

The DesignerActionTextItem constructor sets the Description property to null.

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

The following code example demonstrates how to create a collection of DesignerActionItem objects.

For a full example of implementing smart tags, see How to: Attach Smart Tags to a Windows Forms Component.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: