Skip to main content

XtraDialog.Show(Control, String) Method

Invokes a dialog with the specified control and caption.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public static DialogResult Show(
    Control content,
    string caption
)

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.

Returns

Type Description
DialogResult

One of the DialogResult values.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Show(Control, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also