Click or drag to resize

IViewManagerShowChooserPopup Method

Shows chooser dialog.

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

Parameters

title
Type: SystemString
Dialog title.
input
Type: System.Collections.GenericIListString
Items.
selectedItemIndex (Optional)
Type: SystemInt32
Preselected item index.
buttonWidth (Optional)
Type: Resto.Front.Api.V5.UIButtonWidth
Button's width in dialog.

Return Value

Type: Int32
Selected item index.
See Also