Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Control.AddedControl Method

Called after a control is added to the Controls collection of another control.

[Visual Basic]
Protected Friend Overridable Sub AddedControl( _
   ByVal control As Control, _
   ByVal index As Integer _
)
[C#]
protected internal virtual void AddedControl(
 Control control,
 int index
);
[C++]
protected public: virtual void AddedControl(
 Control* control,
 int index
);
[JScript]
protected internal function AddedControl(
   control : Control,
 index : int
);

Parameters

control
The Control that has been added.
index
The index of the control in the Controls collection.

Remarks

The AddedControl method is called immediately after a control is added to the Controls collection of another control.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Web.UI Namespace | Controls | RemovedControl

Show:
© 2015 Microsoft