ChangePassword.CancelButtonType Property

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

abstract CancelButtonType : ButtonType with get, set
override CancelButtonType : ButtonType with get, set

Property Value

Type: System.Web.UI.WebControls.ButtonType

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.

Exception Condition
ArgumentOutOfRangeException

The specified ButtonType is not one of the ButtonType values.

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

.NET Framework
Available since 2.0
Return to top
Show: