Class Prompt
class for the static prompt functions
Inheritance
System.Object
Prompt
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Base.UI
Assembly: Simplic.Framework.Base.dll
Syntax
public class Prompt
Methods
| Improve this Doc View SourceNumberEdit(String, String, Int32)
Declaration
public static int NumberEdit(string header, string content, int defaultPromptResultValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | header | |
System.String | content | |
System.Int32 | defaultPromptResultValue |
Returns
Type | Description |
---|---|
System.Int32 |
TextEdit(String, String, String)
opens the prompt for multiline text editing with own default style
Declaration
public static string TextEdit(string header, string content, string defaultPromptResultValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | header | Dialog headertext |
System.String | content | description for the input |
System.String | defaultPromptResultValue | default value |
Returns
Type | Description |
---|---|
System.String |
TextEdit(String, String, String, Style)
Opens the prompt with a custom style
Declaration
public static string TextEdit(string header, string content, string defaultPromptResultValue, Style promptStyle)
Parameters
Type | Name | Description |
---|---|---|
System.String | header | Dialog headertext |
System.String | content | description for the input |
System.String | defaultPromptResultValue | default value |
System.Windows.Style | promptStyle | radprompt custom style |
Returns
Type | Description |
---|---|
System.String |