Silverlight 始终将商标符号放在开头

发布于 2025-01-05 11:40:33 字数 206 浏览 1 评论 0原文

我正在 TextBlock 中放入一些带有商标 (TM) 的文本:“Some text™”

但文本块在开始时显示 (TM) 符号 - “™Some text”

如何在字符串中放置 (TM) 的位置显示 (TM) 符号?

P/S:看起来令人难以置信,但这是真的)

I am putting into the TextBlock some text with trademark (TM): "Some text™"

But text block shows (TM) sign at start - "™Some text"!

How can I show (TM) sign in the place where I put it in the string?

P/S: It looks unbelievable but it's true)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

万人眼中万个我 2025-01-12 11:40:33

Silverlight 5:

以下内容将与具有版式支持的 Silverlight 5 一起使用。

<TextBlock>
    <Run Text="Some Text..!!"
     Typography.Variants="Normal" />
    <Run Text="TM"
         Typography.Variants="Superscript" />     
 </TextBlock>

请访问以下链接,了解有关 Silverlight 5 中开放类型支持的更多信息。
http://10rem.net/blog /2011/09/02/silverlight-5-and-wpf-4-opentype-support

Silverlight 4 :

不直接支持排版Silverlight 4 但它可以实现少量数字和基本算术。您可以在 Silverlight 论坛上查看以下链接。

http://forums.silverlight.net /t/64169.aspx/1

谢谢..

Silverlight 5 :

Following will work with Silverlight 5 with Typography Support..

<TextBlock>
    <Run Text="Some Text..!!"
     Typography.Variants="Normal" />
    <Run Text="TM"
         Typography.Variants="Superscript" />     
 </TextBlock>

Go to following link for more on Open Type Support in Silverlight 5..
http://10rem.net/blog/2011/09/02/silverlight-5-and-wpf-4-opentype-support

Silverlight 4 :

No direct support for typography in Silverlight 4 but it can be achieved for few numbers and basic arithmetic. For which you can check following link on Silverlight Forums..

http://forums.silverlight.net/t/64169.aspx/1

Thanks..

江挽川 2025-01-12 11:40:33

为什么不使用

<TextBlock Text="Some Text"/><TextBlock Text="™"/>

Why not use

<TextBlock Text="Some Text"/><TextBlock Text="™"/>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文