Kindle for Windows Phone 7 使用的控件是什么 [英] What's the control used in Kindle for Windows Phone 7
问题描述
我想知道亚马逊使用什么样的控件在其 Windows Phone 7 应用程序中显示文本?它必须是某种自定义的,因为如果我没记错的话,WP7 中不支持 FlowDocument、Run 等.
I was wondering what kind of control Amazon has used to display text in their application for Windows Phone 7 ? It must be some kind of custom ones because if I remember correctly there's not support for FlowDocument, Run etc in WP7.
推荐答案
is supported on WindowsPhone7 - e.g.http://social.msdn.microsoft.com/Forums/en-SG/wpf/thread/ca27556a-a33b-4d4e-82b4-a0ed8596d6a1 - 你可以看到 Run 在很多应用程序中使用 - 例如官方 Twitter 应用.
<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.
这个问题 - 以编程方式确定文本框的最大适合度 (WP7) - 稍微分析一下 Kindle UI 控件 - 这让我认为亚马逊正在为主页使用 TextBlock 控件,并且正在做一些手动计算来计算当前页面上有多少字.
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 for Windows Phone 7 使用的控件是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!