如何在 WP8 应用程序中创建类似 UI 的 Tiles? [英] How to create Tiles like UI within WP8 app?

查看:16
本文介绍了如何在 WP8 应用程序中创建类似 UI 的 Tiles?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在我们的应用中创建类似 UI 的 Tiles.如果我使用带有图像的按钮,它会显示有边框.如果我创建了一个辅助磁贴,则会在开始屏幕上创建磁贴.

How to create Tiles like UI within our app. If I use a button with image, its showing with borders. If I create a secondary tile, then the tile is getting created on the start screen.

有什么方法可以创建类似于 Tiles 的 UI?

Is there any way to create UI which looks similar to Tiles?

谢谢.

推荐答案

您可以使用 Hub Tile 来自 Windows Phone 工具包.如果您希望应用程序中有许多磁贴,所有磁贴都像 Windows Phone 设备的开始屏幕一样排列,那么您应该使用 Wrap Panel 作为这些 Hub Tiles 的容器.您还可以创建类似 UI 控件的 Tile,正如@Xin 此处

You can use Hub Tile from Windows Phone Toolkit. If you want many tiles in your apps, all arranged like in the start screen of Windows Phone device, then you should use Wrap Panel as container for those Hub Tiles. You can also create Tile like UI control as demonstrated very well by @Xin here

这篇关于如何在 WP8 应用程序中创建类似 UI 的 Tiles?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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