如何获得当前的瓷砖尺寸 [英] how to get current tile size

查看:75
本文介绍了如何获得当前的瓷砖尺寸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的应用中扩展实时图块支持,并希望获取当前图块大小,以便我可以正确地将一些UI元素呈现给图像。我希望能够知道如何知道我的UIElement单层或双层瓷砖宽度,
但我无法知道如何随处可见。 Thx伙计们!



Michael DiLeo

I'm trying to expand the live tile support in my app and want to get the current tile size so that I can properly render some UI elements to an image. I want to be able to know how to know whether to make my UIElement of the single or double tile width, but I can't find out how anywhere. Thx Guys!


Michael DiLeo

推荐答案

您需要始终提供所有格式。当然,您不必使用,但用户可以随时更改磁贴大小。
You need to supply all the formats all the time. Granted you don't have to but the user can change the tile size at any time.


这篇关于如何获得当前的瓷砖尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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