ControlLocation Enumeração

Definição

Especifica os possíveis locais para adicionar um controle em um contêiner.Specifies the possible locations for adding a control in a container.

public enum class ControlLocation
public enum ControlLocation
type ControlLocation = 
Public Enum ControlLocation
Herança
ControlLocation

Campos

After 1

Adiciona o controle após a seleção ou o controle atual.Adds the control after the current selection or current control.

Before 0

Adiciona o controle antes da seleção ou do controle atual.Adds the control before the current selection or current control.

First 2

Adiciona o controle ao início do documento.Adds the control at the start of the document.

FirstChild 4

Adiciona o controle como o primeiro filho do controle selecionado se o controle selecionado é uma caixa de controles.Adds the control as the first child of the selected control, if the selected control is a container control.

Last 3

Adiciona o controle ao final do documento.Adds the control at the end of the document.

LastChild 5

Adiciona o controle como o último filho do controle selecionado se o controle selecionado é uma caixa de controles.Adds the control as the last child of the selected control, if the selected control is a container control.

Comentários

A ControlLocation enumeração é usada pelo WebFormsRootDesigner.AddControlToDocument método.The ControlLocation enumeration is used by the WebFormsRootDesigner.AddControlToDocument method.

Aplica-se a