XtraDialog.Show(UserLookAndFeel, IWin32Window, Control, String, DialogResult[], Int32, DefaultBoolean) Method

Invokes a dialog with the specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.2.dll


public static DialogResult Show(
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    Control content,
    string caption,
    DialogResult[] buttons,
    int defaultButton,
    DefaultBoolean allowHtmlText
Public Shared Function Show(
    lookAndFeel As UserLookAndFeel,
    owner As IWin32Window,
    content As Control,
    caption As String,
    buttons As DialogResult(),
    defaultButton As Integer,
    allowHtmlText As DefaultBoolean
) As DialogResult


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 DialogResult[]

An array of values that specify which buttons should be displayed in the dialog.

defaultButton Int32

The zero-based index of the default button.

allowHtmlText DefaultBoolean

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


Type Description

One of the DialogResult values.

See Also