Kindle for Windows Phone 7中使用了什么控件 [英] What's the control used in Kindle for Windows Phone 7

查看:80
本文介绍了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.

推荐答案

<Run>-例如 http://social. msdn.microsoft.com/Forums/en-SG/wpf/thread/ca27556a-a33b-4d4e-82b4-a0ed8596d6a1 -您可以看到在许多应用程序中使用的运行-例如官方的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控件进行了一些分析-使我认为Amazon在主页上使用了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屋!

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