IMessageBoxService.ShowDataValidationDialog(String, String, DataValidationErrorStyle) Method
Shows the Data Validation message box with the specified message, title bar caption, and style.
Namespace: DevExpress.XtraSpreadsheet.Services
Assembly: DevExpress.Spreadsheet.v25.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
PortableDialogResult ShowDataValidationDialog(
string message,
string title,
DataValidationErrorStyle errorStyle
)
Parameters
| Name | Type | Description |
|---|---|---|
| message | String | The text to display in the message box. |
| title | String | The text to display in the message box’s caption. |
| errorStyle | DataValidationErrorStyle | Specifies the error style for the message box. |
Returns
| Type | Description |
|---|---|
| DevExpress.Portable.PortableDialogResult | The equivalent of the System.Windows.Forms.DialogResult enumeration. Indicates the return value of the message box. |
Remarks
The ShowDataValidationDialog method is called when a user enters invalid data in a cell with Data Validation applied.

See Also