Click or drag to resize

IViewManagerShowChooserPopup Method

Shows chooser dialog.

Namespace: Resto.Front.Api.UI
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
int ShowChooserPopup(
	string title,
	IList<string> input,
	int selectedItemIndex = -1,
	ButtonWidth buttonWidth = ButtonWidth.Normal,
	string closeBtnText = null
)

Parameters

title  String
Dialog title.
input  IListString
Items.
selectedItemIndex  Int32  (Optional)
Preselected item index.
buttonWidth  ButtonWidth  (Optional)
Button's width in dialog.
closeBtnText  String  (Optional)
Close button text.

Return Value

Int32
Selected item index.
See Also