Click or drag to resize

IViewManagerShowChooserPopup Method

Shows chooser dialog.

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

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.
closeBtnText (Optional)
Type: SystemString
Close button text.

Return Value

Type: Int32
Selected item index.
See Also