Skip to main content
A newer version of this page is available. .

XtraDialog.Show(Control, String, MessageBoxButtons) Method

Invokes a dialog with the specified control, caption and buttons.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public static DialogResult Show(
    Control content,
    string caption,
    MessageBoxButtons buttons
)

Parameters

Name Type Description
content Control

A control to be displayed in the dialog’s client area.

caption String

A string that specifies the dialog’s caption.

buttons MessageBoxButtons

A value that specifies which buttons should be displayed in the dialog.

Returns

Type Description
DialogResult

One of the DialogResult values.

See Also