Provides an interface for developers to specify custom editing controls that are associated with a System.Web.UI.WebControls.WebParts.WebPart control.
See Also: IWebEditable Members
The System.Web.UI.WebControls.WebParts.IWebEditable interface enables you to associate custom System.Web.UI.WebControls.WebParts.EditorPart controls with a server control--such as a System.Web.UI.WebControls.WebParts.WebPart control, a user control, or a custom server control. The System.Web.UI.WebControls.WebParts.EditorPart controls are contained with an System.Web.UI.WebControls.WebParts.EditorZone 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 System.Web.UI.WebControls.WebParts.WebPart control.
The System.Web.UI.WebControls.WebParts.IWebEditable interface includes two exposed members. The IWebEditable.WebBrowsableObject property provides a way for System.Web.UI.WebControls.WebParts.EditorPart controls to get a reference to the associated server control. The IWebEditable.CreateEditorParts method is used to create an instance of each custom System.Web.UI.WebControls.WebParts.EditorPart control associated with a server control, and return them as a collection.
The System.Web.UI.WebControls.WebParts.IWebEditable interface is already implemented on the base System.Web.UI.WebControls.WebParts.WebPart class, although by default this implementation does not associate any custom System.Web.UI.WebControls.WebParts.EditorPart controls with the System.Web.UI.WebControls.WebParts.WebPart class. To associate a derived System.Web.UI.WebControls.WebParts.WebPart control with custom System.Web.UI.WebControls.WebParts.EditorPart controls, you can override the IWebEditable.CreateEditorParts method.