XtraDialog.Show(IWin32Window, Control, String, DialogResult[], Int32) Method
Invokes a dialog with the specified owner, control, buttons and default button.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
public static DialogResult Show(
IWin32Window owner,
Control content,
string caption,
DialogResult[] buttons,
int defaultButton
)
Parameters
Name | Type | Description |
---|---|---|
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. |
Returns
Type | Description |
---|---|
DialogResult | One of the DialogResult values. |
See Also