IMessageBoxService.ShowDataValidationDialog(String, String, DataValidationErrorStyle) Method
Shows a dialog box as specified by the DataValidation.ErrorStyle.
Namespace: DevExpress.XtraSpreadsheet.Services
Assembly: DevExpress.Spreadsheet.v18.2.Core.dll
Declaration
DialogResult ShowDataValidationDialog(
string message,
string title,
DataValidationErrorStyle errorStyle
)
Parameters
Name | Type | Description |
---|---|---|
message | String | A string to display in a dialog box. |
title | String | A string to display in a window caption. |
errorStyle | DataValidationErrorStyle | A DataValidationErrorStyle enumeration member. |
Returns
Type | Description |
---|---|
DialogResult | A DialogResult enumeration member that indicates the return value of a dialog box. |
Remarks
A situation when the ShowDataValidationDialog method is called may occur when the end-user enters data in a cell with Data Validation applied.
Tip
A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E5052.
See Also