ControlLocation Enumeration
.NET Framework (current version)
Specifies the possible locations for adding a control in a container.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: