Breyta

Deila með


DesignerActionItem(String, String, String) Constructor

Definition

Initializes a new instance of the DesignerActionItem class.

public:
 DesignerActionItem(System::String ^ displayName, System::String ^ category, System::String ^ description);
public DesignerActionItem (string displayName, string category, string description);
public DesignerActionItem (string? displayName, string? category, string? description);
new System.ComponentModel.Design.DesignerActionItem : string * string * string -> System.ComponentModel.Design.DesignerActionItem
Public Sub New (displayName As String, category As String, description As String)

Parameters

displayName
String

The panel text for this item.

category
String

The case-sensitive String that defines the groupings of panel entries.

description
String

Supplemental text for this item, potentially used in ToolTips or the status bar.

Remarks

Because DesignerActionItem is an abstract class, the DesignerActionItem constructor is intended to be called from derived classes only.

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

Applies to

See also