Click or drag to resize

IViewManagerShowInputDialog Method

Shows input dialog.

Namespace:  Resto.Front.Api.UI
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
IInputDialogResult 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: IInputDialogResult
Dialog result. Depending on type argument and user input it could be CardInputDialogResult, NumberInputDialogResult or DecimalInputDialogResult.
See Also