WebPartDisplayMode.IsEnabled(WebPartManager) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether users can personalize a page while the page is in a certain display mode.
public:
virtual bool IsEnabled(System::Web::UI::WebControls::WebParts::WebPartManager ^ webPartManager);
public virtual bool IsEnabled (System.Web.UI.WebControls.WebParts.WebPartManager webPartManager);
abstract member IsEnabled : System.Web.UI.WebControls.WebParts.WebPartManager -> bool
override this.IsEnabled : System.Web.UI.WebControls.WebParts.WebPartManager -> bool
Public Overridable Function IsEnabled (webPartManager As WebPartManager) As Boolean
Parameters
- webPartManager
- WebPartManager
The WebPartManager control instance on the current page.
Returns
true
if users can personalize a page; otherwise, false
. The default is true
. However, when RequiresPersonalization is set to true
, and personalization is disabled on the page, the default will be false
.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.