Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebBrowsableObject Property

WebPart.WebBrowsableObject Property

Gets a reference to the WebPart control to enable it to be edited by custom EditorPart controls.

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

'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property WebBrowsableObject As Object

Property Value

Type: System.Object
A System.Object that consists of the child control of a WebPart control.

Implements

IWebEditable.WebBrowsableObject

If you create a custom WebPart control, and also create related custom EditorPart controls to enable users to edit the control at run time, you must implement the IWebEditable interface, which includes the WebBrowsableObject property.

When the WebPart control enters edit mode, the WebBrowsableObject property is called by an EditorZone control to get a reference to the WebPart control and enable the custom EditorPart controls to edit it.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft