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.ShowYesNoCancelMessage(String) Method

Shows a dialog box with Yes, No and Cancel buttons.

Namespace: DevExpress.XtraSpreadsheet.Services

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

DialogResult ShowYesNoCancelMessage(
    string message
)

Parameters

Name Type Description
message String

A string to display in a dialog box.

Returns

Type Description
DialogResult

A DialogResult enumeration member that indicates the return value of a dialog box.

Remarks

A situation when the ShowYesNoCancelMessage method is called is an attempt to invoke a Data Validation dialog for a range which contains cell with and without data validation settings.

IMessageBoxService.ShowYesNoCancelMessage

Tip

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

See Also