System.Web 2.0.0.0

The interface enables you to associate custom controls with a server control--such as a control, a user control, or a custom server control. The controls are contained with an control, and this zone with its editing controls provides end users with a user interface (UI) for modifying properties, appearance, and behavior on the associated control.

The interface includes two exposed members. The property provides a way for controls to get a reference to the associated server control. The method is used to create an instance of each custom control associated with a server control, and return them as a collection.

The interface is already implemented on the base class, although by default this implementation does not associate any custom controls with the class. To associate a derived control with custom controls, you can override the method.

Provides an interface for developers to specify custom editing controls that are associated with a control.

- Method
  System.Web.UI.WebControls.WebParts.EditorPartCollection

  The method enables you to create a collection of all the custom controls associated with your custom control, control, or user control, and return them as an object. The control takes the collection and creates instances of all the controls whenever the server control enters edit mode.

  Typically you implement this method in a custom control by overriding its method. In the method, you create instances of the custom controls you want to associate with your controls, add them to an object, and then return that object. The collection of controls is then assigned to the property of the zone.

  Any that is added to the collection of controls in an implementation of the method must have a value assigned to its ID property, otherwise an exception will be thrown when the collection is assigned to the property.

  Returns a collection of custom controls associated with a server control that implements the interface.

  An that contains the collection of custom controls associated with a server control.

  2.0.0.0
- Property
  System.Object To be added.

  The property provides a way for controls to get a reference to the server controls they are associated with.

  Although the property itself is read-only, the object reference that it returns enables controls to change values in the server control.

  Gets a reference to the control, user control, or custom control that will be edited by controls.

  2.0.0.0