WebPartPersonalization.IsEnabled Property

Note: This property is new in the .NET Framework version 2.0.

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)

public:
property bool IsEnabled {
	bool get ();
}
/** @property */
public boolean get_IsEnabled ()

public function get IsEnabled () : boolean

Property Value

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: