System.ComponentModel.Design.DesignerActionItem Class

Provides the base class for types that represent a panel item on a smart tag panel.

See Also: DesignerActionItem Members

Syntax

public abstract class DesignerActionItem

Remarks

The System.ComponentModel.Design.DesignerActionItem class serves as an abstract base for classes that represent individual panel items in a smart tag panel, which represents a menu-like user interface (UI) for smart tags. The dnprdnshort supplies derived classes that represent the different common entries in a smart tag panel, including plain text, header text, properties and methods of the associated System.ComponentModel.Design.DesignerActionList class, and designer verbs.

Typically, your DesignerAction feature is defined in a programmer-supplied class derived from System.ComponentModel.Design.DesignerActionList, which contains a DesignerActionList.GetSortedActionItems method that groups individual panel items together to form the smart tag panel. The System.ComponentModel.Design.DesignerActionPropertyItem and System.ComponentModel.Design.DesignerActionMethodItem types are associated with members of the class derived from System.ComponentModel.Design.DesignerActionList, and System.ComponentModel.Design.DesignerActionMethodItem objects are activated when their associated panel entry is selected by the user.

Note:

Forms and dialog boxes can be displayed by members of the class derived from System.ComponentModel.Design.DesignerActionList. By default, the parent of these windows will be the container window for the smart tag panel. Explicitly parenting these child windows to another service or window may cause items to display improperly.

Requirements

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