Control.AddedControl(Control, Int32) Control.AddedControl(Control, Int32) Control.AddedControl(Control, Int32) Method

Definición

Se llama después de agregar un control secundario a la colección Controls del objeto Control.Called after a child control is added to the Controls collection of the Control object.

protected public:
 virtual void AddedControl(System::Web::UI::Control ^ control, int index);
protected internal virtual void AddedControl (System.Web.UI.Control control, int index);
abstract member AddedControl : System.Web.UI.Control * int -> unit
override this.AddedControl : System.Web.UI.Control * int -> unit

Parámetros

control
Control Control Control

Control que se agregó.The Control that has been added.

index
Int32 Int32 Int32

Índice del control de la colección Controls.The index of the control in the Controls collection.

Excepciones

Comentarios

Se AddedControl llama al método inmediatamente después de agregar un control a la Controls colección.The AddedControl method is called immediately after a control is added to the Controls collection.

Se aplica a

Consulte también: