XtraDialog.Show(UserLookAndFeel, Control, String, MessageBoxButtons, MessageBoxDefaultButton) Method

Invokes a dialog with the specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

public static DialogResult Show(
    UserLookAndFeel lookAndFeel,
    Control content,
    string caption,
    MessageBoxButtons buttons,
    MessageBoxDefaultButton defaultButton
)
Public Shared Function Show(
    lookAndFeel As UserLookAndFeel,
    content As Control,
    caption As String,
    buttons As MessageBoxButtons,
    defaultButton As MessageBoxDefaultButton
) As DialogResult

Parameters

Name Type Description
lookAndFeel UserLookAndFeel

An object whose properties specify the dialog's look and feel.

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.

defaultButton MessageBoxDefaultButton

One of the MessageBoxDefaultButton values that specifies the default button for the dialog.

Returns

Type Description
DialogResult

One of the DialogResult values.

See Also