windows phone 7 - Superscript and Subscript in WP7 -
windows phone 7 - Superscript and Subscript in WP7 -
i'm trying show "h2o" 2 in subscript in pivotitem header.
e.g.
<controls:pivotitem header="h20"> </controls:pivotitem>
i'd assign same value code behind textblock.text.
e.g.
textblock1.text = "h2o"; // 2 appear subscript.
is possible version of silverlight used wp7?
after searching around found solution.
from subscript , superscript in textblock troels pedersen , lordcheeto respectively.
in xaml subscript 2 can expressed via unicode.
e.g.
<controls:pivotitem header="h₂0"> </controls:pivotitem>
and code behind.
e.g.
textblock1.text = "h\x2082o"; // 2 appears subscript.
there limitations on approach characters in basic multilingual plane (0000-ffff) supported , font beingness used needs back upwards characters.
windows-phone-7 xaml subscript superscript
Comments
Post a Comment