add

Tuesday, 22 October 2013

Super Script to a radio button text(Trade Mark)


There is a ready TM character in unicode character set which should be already in superscript, it is0x2122. You can also write the TM character directly into the C# code or designer properties (you get the character by copying it from character map, or pressing Alt and  0153 from numpad). The character is available at least in font Microsoft Sans Serif (which should be a default for radio button).


radioButton1.Text = "MyProduct™";
radioButton2.Text = "MyProduct2" + (char)0x2122;

No comments:

Post a Comment