What's the control used in Kindle for Windows Phone 7

送分小仙女□ 提交于 2019-11-30 22:22:55
Stuart

<Run> is supported on WindowsPhone7 - e.g. http://social.msdn.microsoft.com/Forums/en-SG/wpf/thread/ca27556a-a33b-4d4e-82b4-a0ed8596d6a1 - you can see Run used in lots of apps - e.g. the official Twitter app.

This question - Programmatically determining max fit in textbox (WP7) - analyses the Kindle UI control a little bit - it leads me to think that Amazon are using a TextBlock control for the main page, and are doing some manual calculations to work out how many words are on the current page.

Kindle ebooks are primarily HTML (output of conversion from multiple formats), so it would be some kind of WebBrower control.

They haven't detailed this publicly.

I strongly suspect that they have their own controls to wrap a canvas which they dynamically populate with the text and then animate with their own manipulation code.

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