WebPartDisplayMode.IsEnabled(WebPartManager) メソッド

定義

ページが特定の表示モードの場合に、ユーザーがページをパーソナル化できるかどうかを示す値を取得します。

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

パラメーター

webPartManager
WebPartManager

現在のページ上の WebPartManager コントロールのインスタンス。

戻り値

Boolean

ユーザーがページをパーソナル化できる場合は true。それ以外の場合は false。 既定値は、true です。 ただし、RequiresPersonalizationtrue に設定されていて、ページのパーソナル化が無効になっている場合、既定値は false です。

適用対象

こちらもご覧ください