WebPartPersonalization.Scope Property

Definition

Gets the current personalization scope for the parent WebPartManager control.

C#
[System.ComponentModel.Browsable(false)]
public System.Web.UI.WebControls.WebParts.PersonalizationScope Scope { get; }

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

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