Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IMessageBoxService.ShowYesNoCancelMessage(String) Method

Shows a message box with the Yes, No and Cancel buttons.

Namespace: DevExpress.XtraSpreadsheet.Services

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

PortableDialogResult ShowYesNoCancelMessage(
    string message
)

#Parameters

Name Type Description
message String

The text to display in 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 ShowYesNoCancelMessage method is called when a user invokes the Data Validation dialog for a range with validated and non-validated cells.

IMessageBoxService.ShowYesNoCancelMessage

See Also