WebPartPersonalization.Scope Property

Definition

Gets the current personalization scope for the parent WebPartManager control.

public:
 property System::Web::UI::WebControls::WebParts::PersonalizationScope Scope { System::Web::UI::WebControls::WebParts::PersonalizationScope get(); };
[System.ComponentModel.Browsable(false)]
public System.Web.UI.WebControls.WebParts.PersonalizationScope Scope { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Scope : System.Web.UI.WebControls.WebParts.PersonalizationScope
Public ReadOnly Property Scope As PersonalizationScope

Property Value

A PersonalizationScope instance indicating the scope of the WebPartManager.

Attributes

Remarks

This value is initially set based on the value returned from the Load method. This value can be modified by calling the ToggleScope method.

Note that this represents the scope used for applying and extracting personalization information. The value of this property might differ from the InitialScope property or the ChangeScope method.

Applies to

See also