Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsEnabled Property

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 bool IsEnabled { 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.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft