Share via


ButtonPanel.OKButtonDialogResult Property

Gets or sets the value of the result when the OK button is clicked.

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

Syntax

'Declaration
Public Property OKButtonDialogResult As DialogResult
    Get
    Set
'Usage
Dim instance As ButtonPanel
Dim value As DialogResult

value = instance.OKButtonDialogResult

instance.OKButtonDialogResult = value
public DialogResult OKButtonDialogResult { get; set; }
public:
property DialogResult OKButtonDialogResult {
    DialogResult get ();
    void set (DialogResult value);
}
member OKButtonDialogResult : DialogResult with get, set
function get OKButtonDialogResult () : DialogResult
function set OKButtonDialogResult (value : DialogResult)

Property Value

Type: System.Windows.Forms.DialogResult
An object that assigns a value to the dialog result.