IMessageBoxService.ShowMessage(String, String, MessageBoxIcon) Method
Shows a dialog box to the user.
Namespace: DevExpress.XtraSpreadsheet.Services
Assembly: DevExpress.Spreadsheet.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
message | String | A string to display in a dialog box. |
title | String | A string to display in a window caption. |
icon | MessageBoxIcon | A System.Windows.Forms.MessageBoxIcon value that specifies which icon to display in the message box. |
Returns
Type | Description |
---|---|
DialogResult | A DialogResult enumeration member that indicates the return value of a dialog box. |
Remarks
The ShowMessage method is used frequently to inform the user or to display a warning.
Tip
A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E5052.
See Also