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!
精彩评论