ControlDesigner.ActionLists Property

Note: This property is new in the .NET Framework version 2.0.

Gets the action list collection for the control designer.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public:
virtual property DesignerActionListCollection^ ActionLists {
	DesignerActionListCollection^ get () override;
}
/** @property */
public DesignerActionListCollection get_ActionLists ()

public override function get ActionLists () : DesignerActionListCollection

Property Value

A DesignerActionListCollection that contains the DesignerActionList items for the control designer.

Notes to Inheritors To add an action list menu to a custom control in design view, your custom control designer must override the ActionLists property to return a custom control class that is derived from the DesignerActionList class.

The following code example demonstrates how to create a simple composite control with a Label and a TextBox control, together with properties to set the Text properties on both internal controls, and also the Width and BackColor properties of the TextBox. An associated control designer class creates three DesignerActionMethodItem commands, each of which sets two properties on the control, and can be rolled back with the undo functionality of the design host.

No code example is currently available or this language may not be supported.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: