IViewManagerShowChooserPopup Method |
Shows chooser dialog.
Namespace:
Resto.Front.Api.UI
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntaxint 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:
Int32Selected item index.
See Also