LayoutTransform not in Windows Phone Toolkit

独自空忆成欢 提交于 2019-12-23 01:24:08

问题


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.

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

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


回答1:


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

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.

Edit: I published a WP8 version on GitHub. Enjoy :)



来源:https://stackoverflow.com/questions/20663740/layouttransform-not-in-windows-phone-toolkit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!