Redigera

Dela via


ChangePassword.CancelButtonType Property

Definition

Gets or sets the type of button to use for the Cancel button when rendering the ChangePassword control.

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

Property Value

A ButtonType object that defines the type of button to render for the Cancel button. The property value can be one of the three ButtonType enumeration values: Button, Image, or Link. The default is Button.

Exceptions

The specified ButtonType is not one of the ButtonType values.

Remarks

The CancelButtonType property gets or sets the type (Button, Image, or Link) of Cancel button to use when rendering the ChangePassword control.

Applies to

See also