WebPartPersonalization.IsInitialized Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)]
protected bool IsInitialized { get; }

Property Value

Type: System.Boolean

true if personalization is initialized for this instance; otherwise, false.

If the personalization feature is enabled (if the Enabled property is set to true), the WebPartPersonalization instance is considered initialized immediately after the associated WebPartManager's OnInit method has successfully completed (during which the Load method is called). Prior to loading personalization data, this property always returns false.

.NET Framework
Available since 2.0
Return to top
Show: