XtraDialog.Show(Control, String, MessageBoxButtons, MessageBoxDefaultButton) Method
In This Article
Invokes a dialog with the specified control, caption, buttons and default button.
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,
MessageBoxDefaultButton defaultButton
)
#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 | Message |
A value that specifies which buttons should be displayed in the dialog. |
default |
Message |
One of the Message |
#Returns
Type | Description |
---|---|
Dialog |
One of the Dialog |
See Also