EditorPart.WebPartManager Property

Definition

Gets a reference to the WebPartManager control associated with the current Web page.

protected:
 property System::Web::UI::WebControls::WebParts::WebPartManager ^ WebPartManager { System::Web::UI::WebControls::WebParts::WebPartManager ^ get(); };
protected System.Web.UI.WebControls.WebParts.WebPartManager WebPartManager { get; }
member this.WebPartManager : System.Web.UI.WebControls.WebParts.WebPartManager
Protected ReadOnly Property WebPartManager As WebPartManager

Property Value

A reference to the WebPartManager on the page.

Remarks

An EditorPart control needs a reference to the WebPartManager instance because it must check the current personalization scope of the page to determine the value of the Display property. Personalization scope is determined by checking the Scope property, which is accessed through the Personalization property.

Applies to

See also