WebPartPersonalization.Scope Property


Gets the current personalization scope for the parent WebPartManager control.

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

public PersonalizationScope Scope { get; }

Property Value

Type: System.Web.UI.WebControls.WebParts.PersonalizationScope

A PersonalizationScope instance indicating the scope of the WebPartManager.

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.

.NET Framework
Available since 2.0
Return to top