DesignerActionTextItem Constructor (String^, String^)
.NET Framework (current version)
Initializes a new instance of the DesignerActionTextItem class.
Assembly: System.Design (in System.Design.dll)
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: