次の方法で共有


ChangePassword.CancelButtonType プロパティ

定義

.ChangePassword コントロールを表示するときに、キャンセル ボタンに使用するボタンの種類を取得または設定します。

public:
 virtual property System::Web::UI::WebControls::ButtonType CancelButtonType { System::Web::UI::WebControls::ButtonType get(); void set(System::Web::UI::WebControls::ButtonType value); };
public virtual System.Web.UI.WebControls.ButtonType CancelButtonType { get; set; }
member this.CancelButtonType : System.Web.UI.WebControls.ButtonType with get, set
Public Overridable Property CancelButtonType As ButtonType

プロパティ値

ButtonType

キャンセル ボタンとして表示するボタンの種類を定義する ButtonType オブジェクト。 このプロパティ値には、ButtonType 列挙値である ButtonImageLink の 3 つのいずれかを指定できます。 既定値は、Button です。

例外

指定した ButtonType が、ButtonType 値の 1 つではありません。

注釈

このプロパティはCancelButtonType、コントロールのレンダリング時に使用する型 (Buttonまたは ImageCancel ボタン) をChangePassword取得またはLink)設定します。

適用対象

こちらもご覧ください