ControlLocation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the possible locations for adding a control in a container.
public enum class ControlLocation
public enum ControlLocation
type ControlLocation =
Public Enum ControlLocation
- Inheritance
Fields
After | 1 | Adds the control after the current selection or current control. |
Before | 0 | Adds the control before the current selection or current control. |
First | 2 | Adds the control at the start of the document. |
FirstChild | 4 | Adds the control as the first child of the selected control, if the selected control is a container control. |
Last | 3 | Adds the control at the end of the document. |
LastChild | 5 | Adds the control as the last child of the selected control, if the selected control is a container control. |
Remarks
The ControlLocation enumeration is used by the WebFormsRootDesigner.AddControlToDocument method.
Applies to
See also
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre