IViewManagerShowQuantityChangerPopup Method |
Shows quantity changer dialog.
Namespace:
Resto.Front.Api.UI
Assembly:
Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax IReadOnlyCollection<int> ShowQuantityChangerPopup(
string title,
string text,
int minimalQuantity,
int maximalQuantity,
IReadOnlyCollection<(string name, int quantity, int minimalQuantity, int maximalQuantity)> items,
string okBtnText = null,
string cancelBtnText = null
)
Parameters
- title
- Type: SystemString
Dialog title. - text
- Type: SystemString
Dialog hint text. - minimalQuantity
- Type: SystemInt32
Minimal quantity for all items. - maximalQuantity
- Type: SystemInt32
Maximal quantity for all items. - items
- Type: System.Collections.GenericIReadOnlyCollectionValueTupleString, Int32, Int32, Int32
Items which quantity needs to be changed. - okBtnText (Optional)
- Type: SystemString
Ok button text. - cancelBtnText (Optional)
- Type: SystemString
Cancel button text.
Return Value
Type:
IReadOnlyCollectionInt32Actual quantities.
See Also