Share via


ButtonPanel.OKEnabled Property

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

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

Syntax

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

value = instance.OKEnabled

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

Property Value

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