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