Share via


MessageBoxParameters.DefaultButton Property

 

Gets or sets the default button on the message box.

Namespace:   Microsoft.ManagementConsole.Advanced
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public MessageBoxDefaultButton DefaultButton { get; set; }
public:
property MessageBoxDefaultButton DefaultButton {
    MessageBoxDefaultButton get();
    void set(MessageBoxDefaultButton value);
}
member DefaultButton : MessageBoxDefaultButton with get, set
Public Property DefaultButton As MessageBoxDefaultButton

Property Value

Type: System.Windows.Forms.MessageBoxDefaultButton

The default button

See Also

MessageBoxParameters Class
Microsoft.ManagementConsole.Advanced Namespace

Return to top