This documentation is archived and is not being maintained.

WebPartPersonalization::IsEnabled Property

Gets a value that indicates whether personalization is enabled and has successfully loaded personalization data for this instance of the WebPartPersonalization class.

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

[BrowsableAttribute(false)]
public:
property bool IsEnabled {
	bool get ();
}

Property Value

Type: System::Boolean
true if personalization is enabled for the current WebPartPersonalization instance and personalization data has successfully loaded; otherwise, false.

Prior to loading personalization data, this property will always return false. For example, this property will return false during the PreInit phase. After the associated WebPartManager's OnInit method has successfully completed (during which the Load method is called), this property will then return true.

This property is a publicly accessible alias for the protected IsInitialized property.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: