GenericWebPart.WebBrowsableObject Property

 

Gets a reference to the child control, to enable the control to be edited by custom EditorPart controls.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public override object WebBrowsableObject { get; }

Property Value

Type: System.Object

An Object that consists of the child control of a GenericWebPart control.

If a child control implements the IWebEditable interface, and overrides its WebBrowsableObject property, when a user selects the control for editing, the GenericWebPart control will call into the child control through the WebBrowsableObject property, and use the child control's implementation of the CreateEditorParts method. This mechanism allows a server or user control that is not a WebPart control to work with custom associated EditorPart controls in a Web Parts application.

.NET Framework
Available since 2.0
Return to top
Show: