Intersoft.Client.UI.Aqua.UXDesktop Namespace : MessageBoxButton Enumeration |
Public Enum MessageBoxButton Inherits System.Enum
Dim instance As MessageBoxButton
public enum MessageBoxButton : System.Enum
public enum class MessageBoxButton : public System.Enum
Member | Description |
---|---|
Custom | The message box displays custom buttons specified by developers. |
OK | The message box displays an OK button. |
OKCancel | The message box displays OK and Cancel buttons. |
YesNo | The message box displays Yes and No buttons. |
YesNoCancel | The message box displays Yes, No, and Cancel buttons. |
UXMessageBox.Show( // owner of the message box null, // message "Do you want to save this document before the application closes?", // caption "Notepad", // predefined buttons Intersoft.Client.UI.Aqua.UXDesktop.MessageBoxButton.YesNoCancel, // predefined image MessageBoxImage.Question, // callback handler for the close event (dialogResult) => { if (dialogResult == Intersoft.Client.Framework.DialogResult.OK) { // save the document } } );
System.Object
System.ValueType
System.Enum
Intersoft.Client.UI.Aqua.UXDesktop.MessageBoxButton
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2