Skip to main content

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

Invokes a dialog with the specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public static DialogResult Show(
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    Control content,
    string caption,
    MessageBoxButtons buttons,
    MessageBoxDefaultButton defaultButton,
    DefaultBoolean allowHtmlText
)

Parameters

Name Type Description
lookAndFeel UserLookAndFeel

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

owner IWin32Window

An object that serves as the dialog’s top-level window and owner.

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.

allowHtmlText DefaultBoolean

A value that specifies whether HTML tags can be used to format the dialog’s caption.

Returns

Type Description
DialogResult

One of the DialogResult values.

See Also