开发者

Superscripts in WPF window title

I need to be able t开发者_C百科o superscript TM inside the title window of my page.How can i do that in XAML ?


Just use the Unicode trademark symbol, ™, in your window's Title attribute:

<Window x:Class="WpfApplication1.MainWindow" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Super Awesome Main Window™">


Here's a link: http://en.wikipedia.org/wiki/Trademark_symbol Short and sweet, use ALT + 0153 if you're using windows, otherwise you could just try and copy/paste '™'.

Have fun coding!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜