Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

IMessageBoxService.ShowDataValidationDialog(String, String, DataValidationErrorStyle) Method

Shows a dialog box as specified by the DataValidation.ErrorStyle.

Namespace: DevExpress.XtraSpreadsheet.Services

Assembly: DevExpress.Spreadsheet.v19.1.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.

IMessageBoxService.ShowDataValidationDialog

Tip

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E5052.

See Also