Assembly: System.Design (in system.design.dll)
/** @attribute ComVisibleAttribute(true) */ public class DesignerActionListCollection extends CollectionBase
ComVisibleAttribute(true) public class DesignerActionListCollection extends CollectionBase
The DesignerActionListCollection class represents the aggregation of all the items in a smart tag panel. The DesignerActionListCollection class contains zero or more DesignerActionList objects. Each of these lists contains zero or more objects that represent the actual items in the panel and are derived from the DesignerActionItem class.
The following table shows the two techniques for supplying a DesignerActionListCollection to populate the panel with items for components, including custom controls.
The designer for the component class, which is derived from the ComponentDesigner class, supplies this collection through the ActionLists property. The designer infrastructure reads this property when it must display the panel.
The designer infrastructure constructs a panel by creating a smart tag panel, whose constructor takes two parameters of type DesignerActionListCollection. The collections of lists, which contain the pulled and pushed items, are merged into one panel.
The following code example demonstrates how to create a collection of DesignerActionItem objects.
For a full example, see How to: Attach Smart Tags to a Windows Forms Component.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.