Class SharpInputBox
A prompt in a dialog box.
Inherited Members
Namespace: SharpDialogs
Assembly: SharpDialogs.dll
Syntax
public static class SharpInputBox
Methods
| Edit this page View SourceShow(string, string, string, int, int)
Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Declaration
public static string Show(string prompt, string title = "", string defaultResponse = "", int xPos = -1, int yPos = -1)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prompt | The prompt of the dialog. |
| string | title | The title of the dialog. |
| string | defaultResponse | The default reponse of the dialog. |
| int | xPos | The x position of the dialog. |
| int | yPos | The y position of the dialog. |
Returns
| Type | Description |
|---|---|
| string |