XtraInputBox.Show(IWin32Window, String, String, String) Method
Displays a dialog box using the specified owning window, title, prompt, and default response.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
public static string Show(
IWin32Window owner,
string prompt,
string title,
string defaultResponse
)
Parameters
Name | Type | Description |
---|---|---|
owner | IWin32Window | An implementation of IWin32Window that will own the modal dialog box. |
prompt | String | The text to display in the dialog box. |
title | String | The text to display in the title bar of the dialog box. |
defaultResponse | String | The text to display as the editor’s default edit value. |
Returns
Type | Description |
---|---|
String | A String that represents the dialog box editor’s edit value if the OK button is clicked; otherwise, String.Empty. |
Remarks
The following code snipped shows how to display a dialog box parented to the main window.
See Also