Click or drag to resize

IViewManagerShowChooserPopup Method

Shows chooser dialog.

Namespace:  Resto.Front.Api.UI
Assembly:  Resto.Front.Api.V7 (in Resto.Front.Api.V7.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.UIButtonWidth
Button's width in dialog.

Return Value

Type: Int32
Selected item index.
See Also