[UWP]如何在通用Windows应用程序中将项目添加到购物车? [英] [UWP]How to add items into cart in universal windows app?

查看:84
本文介绍了[UWP]如何在通用Windows应用程序中将项目添加到购物车?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  如何使用通用Windows平台将多个项目或单个项目添加到项目中的购物车中,所以请确实需要这个

解决方案

Hi Murugansilvers,


您想实现购物车功能吗?


如果是这样,你可以在后面的代码中创建购物车集合,当你想要添加项目,处理事件以将项目对象添加到购物车集合,然后显示项目使用
UWP控件。您可以使用

数据绑定
如果使用
ListView
 或
GridView


同时,如果没有,你能否给我更多关于你想要实现什么功能的详细信息?


最好的问候,

微风柳


   how to add multiple items or single items into the cart in project using universal windows platform so please do needful this

解决方案

Hi Murugansilvers,

Do you want to implement a shopping cart function?

If that, you can create a cart collection in the code behind, when you want to add the item, handle the event to add the item object to the cart collection, then showing the item by using the UWP controls. You maybe use the Data Binding if using the ListView or GridView.

Meanwhile, if not, could you give me more detailed information about what function do you want to implement?

Best regards,
Breeze Liu


这篇关于[UWP]如何在通用Windows应用程序中将项目添加到购物车?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆