System.Design 2.0.0.0 System.Object

The 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 class, and designer verbs.

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

Forms and dialog boxes can be displayed by members of the class derived from . 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.

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

- Constructor
  2.0.0.0

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

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

  Initializes a new instance of the class.

  The panel text for this item.
  The case-sensitive that defines the groupings of panel entries.
  Supplemental text for this item, potentially used in ToolTips or the status bar.
- Property
  2.0.0.0
  System.Boolean To be added.

  Because multiple objects may be combined to form a single smart tag panel, the property indicates whether the current item can be rearranged by category.

  The property is used in conjunction with the property on the and types.

  For example, ASP.NET uses a data-bound control like to connect to a data source control like . Both have a with its own set of objects. The control has items like , Edit Fields, and AutoFormat. The class has Configure and Refresh Items, which have set to true.

  The control's item has a related component, which is the object. All the object's items that have set to true are automatically included in the control's action list. The following table shows how the two lists are merged in the control's designer action list.

  GridView items

  SqlDataSource items

  DataSourceID (related component = SqlDataSource)

  Edit Fields

  AutoFormat

  Configure (AllowAssociate = true)

  Refresh (AllowAssociate = true)

  Merged GridView control's smart tasks panel

  DataSourceID

  Configure

  Refresh

  Edit Fields

  AutoFormat

  Gets or sets a value indicating whether to allow this item to be placed into a group of items that have the same property value.

- Property
  2.0.0.0
  System.String To be added.

  Item categories are defined by their names, which are case-sensitive.

  For more information about how items are grouped by category, see the method.

  Gets the group name for an item.

- Property
  2.0.0.0
  System.String To be added.

  The property is used whenever a plain text description of the item is required (for example, in ToolTips and the status bar).

  The value of this property is set in the constructor for this class.

  Gets the supplemental text for the item.

- Property
  2.0.0.0
  System.String To be added.

  The value of the property is set in the constructor for this class.

  Gets the text for this item.

- Property
  2.0.0.0
  System.Collections.IDictionary To be added.

  The property allows the programmer to store arbitrary data within an item. The standard properties for this class, such as and , are not stored in this collection.

  The type of this property is actually .

  Gets a reference to a collection that can be used to store programmer-defined key/value pairs.