WP7 文字环绕图像 [英] WP7 wrap text around image

查看:32
本文介绍了WP7 文字环绕图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在文本块控件的右侧有一个带有大量文本的图像.我怎样才能让文字在图片的右侧和下方换行?

I have an image with a large amount of text to the right in a textblock control. How can I get that text to wrap on the right and below the image?

推荐答案

标准的 TextBlock 和 Image 控件不适合您.

The standard TextBlock and Image controls wouldn't work for you.

我想你要么:

  • 必须在 WebBrowser 中使用 HTML(这可能非常缓慢和丑陋!)
  • 必须使用多个 TextBlock,并且您必须测量文本才能自己实现环绕.

考虑不同的布局可能是一个想法 - 文本是否真的可以自由流动并且需要环绕图像?或者可以将文本拆分为标题、标题、正文等?

It might be an idea to consider a different layout - is the text really free flowing and needs wrapped around the image? Or can the text be split up into header, caption, body, etc?

这篇关于WP7 文字环绕图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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