Represents a collection of System.ComponentModel.Design.DesignerActionList objects.
See Also: DesignerActionListCollection Members
The System.ComponentModel.Design.DesignerActionListCollection class represents the aggregation of all the items in a smart tag panel. The System.ComponentModel.Design.DesignerActionListCollection class contains zero or more System.ComponentModel.Design.DesignerActionList objects. Each of these lists contains zero or more objects that represent the actual items in the panel and are derived from the System.ComponentModel.Design.DesignerActionItem class.
The following table shows the two techniques for supplying a System.ComponentModel.Design.DesignerActionListCollection to populate the panel with items for components, including custom controls.
Pull model |
The designer for the component class, which is derived from the System.ComponentModel.Design.ComponentDesigner class, supplies this collection through the ComponentDesigner.ActionLists property. The designer infrastructure reads this property when it must display the panel. |
Push model |
A System.ComponentModel.Design.DesignerActionList or System.ComponentModel.Design.DesignerActionListCollection is supplied as a parameter in a call to the erload:System.ComponentModel.Design.DesignerActionService.Add method of the System.ComponentModel.Design.DesignerActionService associated with the component. |
The designer infrastructure constructs a panel by creating a smart tag panel, whose constructor takes two parameters of type System.ComponentModel.Design.DesignerActionListCollection. The collections of lists, which contain the pulled and pushed items, are merged into one panel.
Because it derives from the CollectionBase class, System.ComponentModel.Design.DesignerActionListCollection uses an internal ArrayList to store its collection of System.ComponentModel.Design.DesignerActionList objects.