Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraDialog.Show(Control, String, MessageBoxButtons) Method

Invokes a dialog with the specified control, caption and buttons.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public static DialogResult Show(
    Control content,
    string caption,
    MessageBoxButtons buttons
)

#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.

#Returns

Type Description
DialogResult

One of the DialogResult values.

See Also