共用方式為


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。 預設為 Button

例外狀況

指定的 ButtonType 不是其中一個 ButtonType 值。

備註

屬性 CancelButtonType 會取得或設定呈現控制項時 ChangePassword 所要使用的類型 (ButtonImageLink) 的 [取消] 按鈕。

適用於

另請參閱