IViewManagerShowInputDialog Method |
Shows input dialog.
Namespace:
Resto.Front.Api.UI
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
SyntaxIInputDialogResult ShowInputDialog(
string title,
InputDialogTypes type,
int? initialValue = null,
string okBtnText = null,
string cancelBtnText = null
)
Parameters
- title
- Type: SystemString
Dialog title. - type
- Type: Resto.Front.Api.Data.ViewInputDialogTypes
Input types. Can be used as flags. - initialValue (Optional)
- Type: SystemNullableInt32
Initial value. Used if type contains Number flag. - okBtnText (Optional)
- Type: SystemString
Ok button text. - cancelBtnText (Optional)
- Type: SystemString
Cancel button text.
Return Value
Type:
IInputDialogResultDialog result. Depending on
type argument and user input it could be
CardInputDialogResult,
NumberInputDialogResult or
DecimalInputDialogResult.
See Also