Skip to main content
.NET Framework Class Library
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)
Syntax
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property WebBrowsableObject As Object
	Get
[BrowsableAttribute(false)]
public virtual Object WebBrowsableObject { get; }
[BrowsableAttribute(false)]
public:
virtual property Object^ WebBrowsableObject {
	Object^ get ();
}
[<BrowsableAttribute(false)>]
abstract WebBrowsableObject : Object
[<BrowsableAttribute(false)>]
override WebBrowsableObject : Object

Property Value

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

Implements

IWebEditable..::.WebBrowsableObject
Remarks

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.

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.