Click or drag to resize

IViewManagerShowInputDialog Method

Shows input dialog.

Namespace: Resto.Front.Api.UI
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
IInputDialogResult ShowInputDialog(
	string title,
	InputDialogTypes type,
	int? initialValue = null,
	string okBtnText = null,
	string cancelBtnText = null
)

Parameters

title  String
Dialog title.
type  InputDialogTypes
Input types. Can be used as flags.
initialValue  NullableInt32  (Optional)
Initial value. Used if type contains Number flag.
okBtnText  String  (Optional)
Ok button text.
cancelBtnText  String  (Optional)
Cancel button text.

Return Value

IInputDialogResult
Dialog result. Depending on type argument and user input it could be CardInputDialogResult, NumberInputDialogResult or DecimalInputDialogResult.
See Also