WebPart.WebBrowsableObject Property

Definition

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

[System.ComponentModel.Browsable(false)]
public virtual object WebBrowsableObject { get; }

Property Value

A Object that consists of the child control of a WebPart control.

Implements

Attributes

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also