Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有带有文本“km2”的文本块:
<TextBlock >Area(km2)</TextBlock>
我怎样才能使“2”小而高的指数我需要在图片上查看:
您可以适当地创建Inlines和设置Typography.Variants。
Inlines
Typography.Variants
<TextBlock><Run>Area(km</Run><Run Typography.Variants="Superscript">2</Run><Run>)</Run></TextBlock>
<TextBlock Text="Area(km²)"/>
似乎工作: