ControlLocation Enumeration
.NET Framework 3.0
Specifies the possible locations for adding a control in a container.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
| Member name | Description | |
|---|---|---|
| After | Adds the control after the current selection or current control. | |
| Before | Adds the control before the current selection or current control. | |
| First | Adds the control at the start of the document. | |
| FirstChild | Adds the control as the first child of the selected control, if the selected control is a container control. | |
| Last | Adds the control at the end of the document. | |
| LastChild | Adds the control as the last child of the selected control, if the selected control is a container control. |
The ControlLocation enumeration is used by the WebFormsRootDesigner.AddControlToDocument method.
Community Additions
ADD
Show: