iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.UI
IViewManager Interface
IViewManager Methods
ChangeProgressBarMessage Method
ShowCalendarPopup Method
ShowCheckPermissionPopup Method
ShowCheckPermissionsPopup Method
ShowChooserPopup Method
ShowClosePopup Method
ShowDateNumpadPopup Method
ShowDateTimePopup Method
ShowErrorPopup Method
ShowExtendedInputDialog Method
ShowExtendedKeyboardDialog Method
ShowInputDialog Method
ShowKeyboard Method
ShowOkCancelPopup Method
ShowOkPopup Method
ShowQuantityChangerPopup Method
ShowRetryCancelPopup Method
ShowRetryIgnoreCancelPopup Method
ShowYesNoCancelPopup Method
ShowYesNoPopup Method

# IViewManager ShowChooserPopup Method

Shows chooser dialog.

Namespace: Resto.Front.Api.UI
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    int ShowChooserPopup(
    	string title,
    	IList<string> input,
    	int selectedItemIndex = -1,
    	ButtonWidth buttonWidth = ButtonWidth.Normal
    )

#### Parameters

title
  Type: System
  String
  Dialog title.
input
  Type: System.Collections.Generic
  IList
  String
  Items.
selectedItemIndex (Optional)
  Type: System
  Int32
  Preselected item index.
buttonWidth (Optional)
  Type: Resto.Front.Api.UI
  ButtonWidth
  Button's width in dialog.

#### Return Value

Type: Int32
Selected item index.
See Also

#### Reference

IViewManager Interface
Resto.Front.Api.UI Namespace