LayoutTransform 不在 Windows Phone Toolkit 中 [英] LayoutTransform not in Windows Phone Toolkit

查看:31
本文介绍了LayoutTransform 不在 Windows Phone Toolkit 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现在 Windows Phone 上使用 LayoutTransformer 的例子都是从 Silverlight Toolkit 中分离出 Windows Phone Toolkit 之前的.

The examples I have found for using a LayoutTransformer with windows phone are all from before they split off the Windows Phone Toolkit from the Silverlight Toolkit.

Windows Phone 工具包没有引用的 LayoutTransformer.dll.

The Windows Phone Toolkit does not have the LayoutTransformer.dll that was referenced.

那么问题是,你现在用什么来做 LayoutTransform?

So the question is, what do you use to do a LayoutTransform now?

推荐答案

从字面上看,只需使用 Silverlight 工具包中的代码并稍作改动即可.

Literally, just use the code from the Silverlight toolkit with minor changes.

Windows 的操作方法如下8(注意:这是来自我的博客).您可以完全重用这个,只需将几个命名空间和一个地方从受保护"更改为公共",它就可以构建和运行.

Here's how to do it for Windows 8 (note: this is from my blog). You can reuse this completely, just change a few namespaces and at one place from 'protected' to 'public' and it builds and works.

我在 GitHub 上发布了 WP8 版本.享受:)

I published a WP8 version on GitHub. Enjoy :)

这篇关于LayoutTransform 不在 Windows Phone Toolkit 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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