UserControl Constructor

Definition

Initializes a new instance of the UserControl class.

public:
 UserControl();
public UserControl ();
Public Sub New ()

Remarks

You do not typically create an instance of the UserControl class. To create your own user control, inherit from the UserControl class.

To create a new user control on an ASP.NET page programmatically, use the LoadControl method.

Applies to

See also