Control.AddedControl(Control, Int32) Method

Definition

Chiamato dopo che un controllo figlio viene aggiunto alla raccolta Controls dell'oggetto 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
Protected Friend Overridable Sub AddedControl (control As Control, index As Integer)

Parameters

control
Control

Oggetto Control aggiunto.The Control that has been added.

index
Int32

Indice del controllo nella raccolta Controls.The index of the control in the Controls collection.

Exceptions

control è un controllo Substitution.control is a Substitution control.

Remarks

Il metodo AddedControl viene chiamato immediatamente dopo l'aggiunta di un controllo alla raccolta Controls.The AddedControl method is called immediately after a control is added to the Controls collection.

Applies to

See also