IMessageBoxService.ShowOkCancelMessage(String) Method
Shows a dialog box to ask the user to confirm an action.
Namespace: DevExpress.XtraSpreadsheet.Services
Assembly: DevExpress.Spreadsheet.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
message | String | A string to display in a dialog box. |
Returns
Type | Description |
---|---|
Boolean | true, if the user successfully confirms the action; otherwise, false. |
Remarks
A situation when the ShowOkCancelMessage method is called is an attempt to overwrite the cell content by dragging and dropping cells from another location.
Tip
A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E5052.
See Also