如何在拍摄视图中显示图片? [英] how to dispaly a picture in snapped view??

查看:139
本文介绍了如何在拍摄视图中显示图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每个人

任何人都可以告诉我如何在快照视图中显示图片以防止用户像Windows应用商店那样使用它,我试过但是在网格视图中显示图片并在用户从视觉状态管理器切换到快照视图时显示该图片 
,但它没有像Windows商店应用程序那样工作,因为高度和宽度在不同分辨率下不断变化。

can anyone tell me how to display a picture in the snapped view to prevent the user from using it like the windows store application ,, i have tried to but a picture in a gridview and display it when user switch to snapped view from the visual state manger  but it didnt work like the windows store app because height and width keep changing in different resolutions.

谢谢,

推荐答案

为景观和捕捉视图保留完全不同的panaels。这些将在内部保存相关元素,并且可以通过VisualStateManager设置这些panals的可见性。
Keep completely distinct panaels for landscape and snap view. These will hold relevant elements inside and visibility of these panals can be set via VisualStateManager.


这篇关于如何在拍摄视图中显示图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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