DesignerActionPropertyItem Constructor (String^, String^, String^, String^)
Initializes a new instance of the DesignerActionPropertyItem class, with the specified property and category names, and display and description text.
Assembly: System.Design (in System.Design.dll)
public:
DesignerActionPropertyItem(
String^ memberName,
String^ displayName,
String^ category,
String^ description
)
Parameters
- memberName
-
Type:
System::String^
The case-sensitive name of the property associated with this 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.
- description
-
Type:
System::String^
Supplemental text for this item, used in ToolTips or the status bar.
For more information about how the category parameter is used to group items on a panel, see the GetSortedActionItems method.
The memberName parameter refers to the name of the associated property that is a member of the programmer-supplied class derived from the DesignerActionList class.
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.
Available since 2.0