Share via


ButtonPanel.CancelEnabled Property

Gets or sets a value that indicates whether the control enables the Cancel button.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Property CancelEnabled As Boolean
    Get
    Set
'Usage
Dim instance As ButtonPanel
Dim value As Boolean

value = instance.CancelEnabled

instance.CancelEnabled = value
public bool CancelEnabled { get; set; }
public:
property bool CancelEnabled {
    bool get ();
    void set (bool value);
}
member CancelEnabled : bool with get, set
function get CancelEnabled () : boolean
function set CancelEnabled (value : boolean)

Property Value

Type: System.Boolean
True if the Cancel button is enabled; otherwise, false.