Messaging.Show(String, String) Method

Displays a message box.

Namespace: DevExpress.ExpressApp.Win.Core

Assembly: DevExpress.ExpressApp.Win.v18.2.dll

Declaration

public DialogResult Show(
    string caption,
    string message
)
Public Function Show(
    caption As String,
    message As String
) As DialogResult

Parameters

Type Name Description
String caption

A string, which is the message box caption.

String message

A string, which is the text displayed within the message box.

Returns

Type Description
DialogResult

A DialogResult enumeration value, which indicates the user choice made within the message box.

This method uses the XtraMessageBox.Show method, to display a message box. To change this behavior, override the protected ShowCore method in a custom Messaging descendant (see How to: Implement a Custom Messaging Class) topic. The Messaging.ConfirmationDialogClosed event is triggered within this method, after the message box is closed.

See Also