ControlDesigner.ActionLists Property

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

Not applicable.

Property Value

A DesignerActionListCollection object 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 control. 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.

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: