如何从右到左书写文字? [英] How can I write text Right-to-Left?

查看:150
本文介绍了如何从右到左书写文字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在Blend 3中为我的按钮标签和按钮文本输入波斯文本,但文本显示不正确!它会从左到右显示!!它似乎在属性面板中没有Paragraph Direction ......由于所有其他microsoft的产品都支持所有语言,这对于这个应用程序来说真的是一个很大的劣势!
请帮我解决这个问题!

I tried to enter Persian text for my button labels and button texts in Blend 3, but the text is not shown right! and it will be shown left to right!! It seems it doesn't have Paragraph Direction in the properties panel...
It's really a big disadvantage for this application as all other microsoft's products support all languages!
please help me to solve this problem!

推荐答案

如果你因为波斯语/阿拉伯语/乌尔都语的性质而对你的应用程序的某些部分做了从右到左的做法 - 要向左,添加XAML属性FlowDirection = RightToLeft,您将无法在Blend属性面板中找到它!但是如果你在XAML View中输入它就会出现问题。

不好的是,没有设计时支持FlowDirection,你必须运行应用程序才能看到结果,这真的很烦人的时候从事大型项目。

我希望这很有帮助,左看
If you are trying to do Right-To-Left to parts of your application because of the nature of Persian/Arabic/Urdu which are Right-To-Left, add the XAML Attribute FlowDirection=RightToLeft, You will not find it in the properties Panel in Blend! but if you type it in the XAML View it's there.

The bad thing is that there is NO Design-Time support for FlowDirection you have to run the the app to see the result which gets really annoying when working on large projects.

I hope that was helpful,
regards


这篇关于如何从右到左书写文字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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