Editar

Partilhar via


GenericWebPart.WebBrowsableObject Property

Definition

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

public:
 virtual property System::Object ^ WebBrowsableObject { System::Object ^ get(); };
public override object WebBrowsableObject { get; }
member this.WebBrowsableObject : obj
Public Overrides ReadOnly Property WebBrowsableObject As Object

Property Value

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

Remarks

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.

Applies to

See also