Skip to main content

IMessageBoxService.ShowYesNoMessage(String) Method

Shows a dialog box with Yes and No buttons.

Namespace: DevExpress.XtraSpreadsheet.Services

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool ShowYesNoMessage(
    string message
)

Parameters

Name Type Description
message String

A string to display in a dialog box.

Returns

Type Description
Boolean

true, if the user successfully clicks the Yes button; otherwise, false.

Remarks

A situation when the ShowYesNoMessage method is called is an attempt to delete a defined name in the Name Manager dialog.

IMessageBoxService.ShowYesNoMessage

See Also