XtraDialog.Show(Control, String, MessageBoxButtons, DefaultBoolean) Method

Invokes a dialog with the specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

public static DialogResult Show(
    Control content,
    string caption,
    MessageBoxButtons buttons,
    DefaultBoolean allowHtmlText
)
Public Shared Function Show(
    content As Control,
    caption As String,
    buttons As MessageBoxButtons,
    allowHtmlText As DefaultBoolean
) As DialogResult

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.

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