Intersoft.Client.UI.Aqua.UXDesktop Namespace : MessageBoxImage Enumeration |
Public Enum MessageBoxImage Inherits System.Enum
Dim instance As MessageBoxImage
public enum MessageBoxImage : System.Enum
public enum class MessageBoxImage : public System.Enum
Member | Description |
---|---|
Custom | The message box displays a custom icon specified in CustomImage property. |
Error | The message box displays an error icon. |
Information | The message box displays an information icon. |
None | No icon is displayed. |
Question | The message box displays a question mark icon. |
Warning | The message box displays a warning icon. |
This enumeration is used by the UXMessageBox.Show method in the image parameter. This enumeration determines the image that is displayed on the UXMessageBox.
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.MessageBoxImage
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