放大列表框中的图片 [英] enlarging pictures from a listbox

查看:77
本文介绍了放大列表框中的图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何从列表框中选择图片?
甚至如何以编程方式选择列表框项目?

Hi how do i enlarge a picture from a listbox when it is selected?
And how does one even select the listbox items programmatically anyways?

我让用户上传或拍照,然后将其放在列表框包装面板中,我希望他们能够单击图像并将其放大.
也许可以在新页面中打开它.

I have the user upload or take pictures which is then put in a listbox wrappanel and i want them to be able to click the images and make them bigger.
Perhaps open it in a new page.

推荐答案

你好

您可以通过添加MouseLeftButtonDown事件使图像可点击,您可以在此处找到更多信息

you can make an image clickable by adding MouseLeftButtonDown event you can find more here

http://msdn.microsoft. com/en-us/library/system.windows.uielement.mouseleftbuttondown(v = vs.110).aspx

在这里您可以找到有关列表框的更多信息

here you can find more about the list box

http://windowsphonegeek.com/tips/WP7-ListBox-SelectedItem


这篇关于放大列表框中的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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